Results 1 to 2 of 2

Thread: PHP 4+ Classes

  1. #1
    Join Date
    Nov 2006
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default PHP 4+ Classes

    If I have :

    class MyClass{

    /*
    functions & what not ..
    */

    }

    $test = new myClass;
    how do I get rid of (destroy) $test ?

  2. #2
    Join Date
    Nov 2006
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok Solved it
    $test = null; #destroys the class.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •