note 114131 deleted from function.unset by tularis
| From: | tularis@php.net | Date: | Wed, 15 Jan 2014 13:54:55 +0000 |
| Subject: | note 114131 deleted from function.unset by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-198240@lists.php.net to get a copy of this message | ||
Note Submitter: williamprogphp at yahoo dot com dot br
----
unset() wont work for constants. Codes containing unset(__MY_CONST__); will generate a syntax error
for a expected unknown T_PAAMAYIM_NEKUDOTAYIM object.
Actually php only supports a constant redefine by using the non-built-in pecl extension runkit which
goes to change the php behaviour.