Object initialization ?
| From: | Nicolay Mausz | Date: | Wed, 29 Mar 2000 20:14:46 +0000 |
| Subject: | Object initialization ? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12826@lists.php.net to get a copy of this message | ||
unset($obj);
$obj->test="something";
creates a new object and '$obj->test' will be set in PHP 4 Beta 3 which
is fine.
With PHP 4 Beta 4 it remains unset. In PHP 3 it prints out a warning
message.
It seems to be a bug in Beta 4 (I do not have an installed PHP 4 RC 1).
Which behaviour will be implemented in the final PHP ?
Nicolay