note 16683 deleted from class.pear by jimw
| From: | jimw@php.net | Date: | Sat, 10 Nov 2001 23:31:31 +0000 |
| Subject: | note 16683 deleted from class.pear by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20701@lists.php.net to get a copy of this message | ||
I am using php 4.0.6 from the command line and am able to call the destructor without making an
instance of my object by reference with an ampersand.
$obj = new Object;
$obj =& new Object;
both work for me on the command-line. i don't see the need for the ampersand.