Re: Compatibility problems with PHP 5

From: Date: Thu, 27 Nov 2003 15:41:38 +0000
Subject: Re: Compatibility problems with PHP 5
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-5777@lists.php.net to get a copy of this message
Andi, any chance of fixing this? I think there was a long thread on engine2 about this and there was an agreement that this should work as in php4. Edin On Thursday 27 November 2003 13:47, Derick Rethans wrote: > On Thu, 27 Nov 2003, Edin Kadribasic wrote: > > 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. > > By doing this: > > <?php > $tpl->foo = 'blaat'; > ?> > > in PHP 4 you would get a object of stdClass, in PHP 5 you get a warning. > > Derick

« previous php.internals (#5777) next »