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…

On 10/19/07, news.php.net <[EMAIL PROTECTED]> wrote:
> 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
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

Reply via email to