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

From: Date: Wed, 26 Jul 2000 09:10:11 +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-26234@lists.php.net to get a copy of this message
It shouldn't be allowed.
Thus we should have an undefine() or unset() (which unsets defined vars) to allow redefinition of *user*-constants, all others shouldn´t be allowed to touch...
I get the same results, but I don´t think it´s a bug, BTW -1 is treated as FALSE value normally... -1 is not treated as false, only 0 is treaded as false.
I should have said, treated in my scripts as false. I use negative values for error handling.... regards -- 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 (#26234) next »