Re: PHP 5 and Implicit cloning

From: Date: Thu, 22 Jul 2004 12:35:53 +0000
Subject: Re: PHP 5 and Implicit cloning
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-191518@lists.php.net to get a copy of this message
Jules wrote:
Jason, I need it for other reasons. This is not a new application that is causing this. It was built on PHP 4 and therefore has lots of non PHP 5 elements. So I'm pretty sure I need than on, unless someone has another idea... Thanks, Jules...
Not sure what all your classes do, but here's a list of non-compatible changes for PHP5: http://www.php.net/manual/en/migration5.incompatible.php If your scripts don't have problems with any of these incompatibilities, then using clone should work. The error you're recieving at the end of the script is just Zend's not-so-gentle reminder that you should change over to the new object model. I don't know why it triggers for E_ALL... some enlightenment from others would be great here :)

« previous php.general (#191518) next »