note 16683 added to class.pear

From: Date: Thu, 08 Nov 2001 21:08:22 +0000
Subject: note 16683 added to class.pear
Groups: php.notes 
Request: Send a blank email to php-notes+get-20618@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. -- http://www.php.net/manual/en/class.pear.php http://master.php.net/manage/user-notes.php?action=edit+16683 http://master.php.net/manage/user-notes.php?action=delete+16683 http://master.php.net/manage/user-notes.php?action=reject+16683

« previous php.notes (#20618) next »