Re: [PHP] php5 - possible bug discovered

2007-10-09 Thread David Restall - System Administrator
Hi Robert, Stut List Thanks for your replies which arrived after I had gone to bed |-Z Robert :- In PHP5 objects are no longer copied when assigned. Instead the object's handle is assigned (similar to a reference but not quite). So the behaviour is as expected. Stut :- I think I have

Re: [PHP] php5 - possible bug discovered

2007-10-09 Thread Stut
David Restall - System Administrator wrote: My main obesrvation is that I'm glad that I decided to revisit all my old PHP4 stuff and rewrite or clean it up. I have hundreds of $Working_Class = $Under_Class; lines in my code as well as $Upper_Class = $Aristocracy; lines too. I think the

[PHP] php5 - possible bug discovered

2007-10-08 Thread David Restall - System Administrator
Hi, I think I have discovered a bug in php5. If I haven't, I've discovered a bug in the documentation or a bug in my brain. php -v :- PHP 5.2.3 (cli) (built: Jun 26 2007 15:38:48) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies I've

Re: [PHP] php5 - possible bug discovered

2007-10-08 Thread Robert Cummings
In PHP5 objects are no longer copied when assigned. Instead the object's handle is assigned (similar to a reference but not quite). So the behaviour is as expected. Cheers, Rob. On Mon, 2007-10-08 at 21:42 +0100, David Restall - System Administrator wrote: Hi, I think I have discovered a

Re: [PHP] php5 - possible bug discovered

2007-10-08 Thread Stut
David Restall - System Administrator wrote: I think I have discovered a bug in php5. If I haven't, I've discovered a bug in the documentation or a bug in my brain. Start here: http://php.net/language.oop5.cloning -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/)