Re: Undefined Constants behavior in PHP6

From: Date: Sun, 21 Oct 2007 07:51:58 +0000
Subject: Re: Undefined Constants behavior in PHP6
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-32900@lists.php.net to get a copy of this message
On 10/21/07, 131 <131.php@cloudyks.org> wrote: > It's not always a structural issue :/ It is > I'm sure non defined string interpretation is a bad thing it is definitely a bad thing, but it is a documented bad thing and I believe there are still some scripts which rely on this > I'm not a php core writter, but it have to be, even a little, more > complicated to use undefined constants as there "string" value, than as > "null" > > Maybe i'm the only one thinking that way. > I'll try to handle this by myself with parsekit & runkit ... use of undefined constants produces a E_NOTICE you can catch these in error-handler while debugging and fix the structure of code accordingly. -- Alexey Zakhlestin http://blog.milkfarmsoft.com/

« previous php.internals (#32900) next »