note 1343 deleted from unset by danbeck
| From: | danbeck@php.net | Date: | Wed, 20 Sep 2000 09:15:44 +0000 |
| Subject: | note 1343 deleted from unset by danbeck | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5211@lists.php.net to get a copy of this message | ||
PHP4 incompatibility: When used on static variables in funnctions, they lose their static property.
(So, dont use them on static variables.)
This behaviour is different then PHP3 behaviour, and it is one of the incompatibilities. According
to Zeev, PHP4 displays correct behaviour and PHP3 behaviour of unset() can be called "not very
well defined."
See bug 2015 for an example.