Undefined Constants behavior in PHP6
| From: | news.php.net | Date: | Fri, 19 Oct 2007 08:41:38 +0000 |
| Subject: | Undefined Constants behavior in PHP6 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-32871@lists.php.net to get a copy of this message | ||
I was wondering if someone already think about modifying the actual behavior
of undefined constants in php6.
I'm desperate with some
if(DEBUG) print_r($_SESSION);
- and lot others case -
Is there a possibility undefined constants ( strings ) return "null" :x ?
I do not think it's a mistake, since echo "{$array[foo]}" is not good and
"{$array['foo']}" is
131