[PHP] Re: PHP 5 and Implicit cloning

2004-07-22 Thread Jason Barnett
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

[PHP] Re: PHP 5 and Implicit cloning

2004-07-22 Thread Jules
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... "Jason Barnett" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: PHP 5 and Implicit cloning

2004-07-22 Thread Jason Barnett
If you need a copy of an object (like the default in PHP4), you can explicitly do that with clone. $cErrorHandler = new testErrors(); $clone = clone $cErrorHandler; If you do this you shouldn't need zend engine 1 compatibility (unless you need that for other reasons). -- PHP General Mailing Lis