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
and what's wrong with the following syntax?
if(defined('DEBUG')) print_r($_SESSION);
I don't think there's a need to change anything here…
I was wondering if someone already think about modifying the actual behavior
of undefined constants in php6.
I'm desperate with someif(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']}" is131
--
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/