Re: is it allowed to override default constants(TRUE,FALSE)? see bug 5217

From: Date: Wed, 26 Jul 2000 09:27:43 +0000
Subject: Re: is it allowed to override default constants(TRUE,FALSE)? see bug 5217
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-26239@lists.php.net to get a copy of this message
w>> Thus we should have an undefine() or unset() (which unsets defined vars) w>> to allow redefinition of *user*-constants, all others shouldn´t be w>> allowed to touch... Is my dictionary failing me or constant is mean to be... erm... constant? Why one should want to redefine it?
think of some script (class) you´re using (from a different coder) that defines some constants, you´re using in your own scripts later, would be a pity if you have to rewrite your code then.... thus it could make sense to be able to destroy defined vars with undefine() or similar (maybe password protected :) ) -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#26239) next »