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

From: Date: Wed, 26 Jul 2000 09:47:26 +0000
Subject: Re: is it allowed to override default constants(TRUE,FALSE)? see bug 5217
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-26243@lists.php.net to get a copy of this message
On Wed, Jul 26, 2000 at 12:35:06PM +0300, Stanislav Malyshev wrote: > w>> think of some script (class) you´re using (from a different coder) that > w>> defines some constants, you´re using in your own scripts later, would be > w>> a pity if you have to rewrite your code then.... > > yes, it would be. But we can do nothing about it - the same story is with > variables, class names, function names, etc. > > w>> thus it could make sense to be able to destroy defined vars with > w>> undefine() or similar (maybe password protected :) ) > > Yeah, with biometric identification. > I guess a simple sed s//g on this 'alien code' would be somewhat easier. NiElS

« previous php.dev (#26243) next »