Re: Compatibility problems with PHP 5
| From: | Derick Rethans | Date: | Thu, 27 Nov 2003 12:47:09 +0000 |
| Subject: | Re: Compatibility problems with PHP 5 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5765@lists.php.net to get a copy of this message | ||
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