Re: Compatibility problems with PHP 5

From: Date: Thu, 27 Nov 2003 12:59:58 +0000
Subject: Re: Compatibility problems with PHP 5
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-5767@lists.php.net to get a copy of this message
Zitat von Edin Kadribasic <edink@emini.dk>: > On Thursday 27 November 2003 11:47, Jan Schneider wrote: > [snip] > > behaviour/notification and not working on-the-fly-generation of > stdClass > > objects. It's not that much of a problem for us as we will release new > > What exactly is the problem with stdClass? We have a lot of code overhere > that > rely on stdClass behaiving as it did in php4. Actually I'm not sure if this problem still exists, but I found that checking our commits related to ZE2 fixes. Creating objects on the fly didn't work or at least raised a warning/error. I changed code like: $not_existing_object->foo = "bar"; to: $not_existing_object = new stdClass(); $not_existing_object->foo = "bar"; Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.internals (#5767) next »