note 114131 added to function.unset
| From: | williamprogphpatyahoodotcomdotbr | Date: | Tue, 14 Jan 2014 12:35:59 +0000 |
| Subject: | note 114131 added to function.unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198234@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 187.73.33.55
Probable Submitter: 177.43.119.65
----
Manual Page -- http://php.net/manual/en/function.unset.php
Edit -- https://master.php.net/note/edit/114131
Del: integrated -- https://master.php.net/note/delete/114131/integrated
Del: useless -- https://master.php.net/note/delete/114131/useless
Del: bad code -- https://master.php.net/note/delete/114131/bad+code
Del: spam -- https://master.php.net/note/delete/114131/spam
Del: non-english -- https://master.php.net/note/delete/114131/non-english
Del: in docs -- https://master.php.net/note/delete/114131/in+docs
Del: other reasons-- https://master.php.net/note/delete/114131
Reject -- https://master.php.net/note/reject/114131
Search -- https://master.php.net/manage/user-notes.php