Re: unset a constant
| From: | Jasper Bryant-Greene | Date: | Tue, 28 Mar 2006 03:42:50 +0000 |
| Subject: | Re: unset a constant | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232701@lists.php.net to get a copy of this message | ||
There is no way using the core language. You can, however, use the runkit function if you absolutely have to:
http://php.net/runkit_constant_remove
Jasper
Suhas wrote:
Hi, How do I unset a defined variable. e.g. define('AA',1); unset(AA) // gives error any suggestions! Thanks SP