note 21360 deleted from function.ini-get by sniper

From: Date: Wed, 27 Aug 2003 05:04:12 +0000
Subject: note 21360 deleted from function.ini-get by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55154@lists.php.net to get a copy of this message
Note Submitter: ---- Note that this function may return an empty string when a value is set to Off. You should use this in conjunction with var_dump() to check if a setting is On or Off: eg: $val = ini_get("short_open_tag"); var_dump( $val ); This will echo string(0) "" if Off This will echo string(1) "1" if On Check var_dump() on how to pipe the output to a string variable using the output buffering functions. (Examined on 4.2.0 Win32.)

« previous php.notes (#55154) next »