""Alexey Zakhlestin"" <[EMAIL PROTECTED]> a écrit dans le message de news: 
[EMAIL PROTECTED]
> and what's wrong with the following syntax?
>
> if(defined('DEBUG')) print_r($_SESSION);

I might have a define("DEBUG",$_SERVER["REMOTE_ADDR"]=="myip"); included - 
on not

I know defined exists but, more than the simple "existance" of a constants, 
sometime, it's "value" might be more important, and auto-string conversion 
is a wrong behavior i think.

of course, i could if(defined("DEBUG") && DEBUG ) ... that's so.... php not.

Is there a way to have a " nullyfy_undefined_constants=on" setting ?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to