Re: Odd problem with DB_DataObject

From: Date: Mon, 24 Jan 2005 10:50:31 +0000
Subject: Re: Odd problem with DB_DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17127@lists.php.net to get a copy of this message
Hi Phil,
$TESTOBJ = new TestClass(); Use a reference and not a copy:
$TESTOBJ = & new TestClass(); Then it works with my PHP 4.3.10. Could somebody explain why the copy is not working ? Is it related to this overload pb ? à+ -- bertrand Gugger

« previous php.pear.general (#17127) next »