Re: [PHP-DEV] define() does not return FALSE on collisions From: waldschrott (waldschrott <email protected>)
Date: 07/26/00

> It's not implemented. We would need to change zend_register_constant()
> to return a result.

Manual suggests it is...
I´ll leave that bug report open...

> Not a biggy and could be done.
> However, we don't want to support undefine(). It doesn't work with the
> constants implementation in PHP which looks at constants as REAL
> constants, i.e., they can't be changed.

no problem with that, just a thought...

regards

-- 
o----------0-¬---------O-·---¬----o---®-----o o    O   °       .
| http://www.kiffen.de | pRoteçt y0ur bRaín |0  O °     ¤  °        ·
0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © °   .  ·
| psychedelic experience |  gott <email protected>  | O   ° o           °
o-¬--o--0-----©-·--O-----o-----0-¤----------o  0 °  · °  .  ¤ ·

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>