note 21360 added to function.ini-get

From: Date: Thu, 09 May 2002 20:37:51 +0000
Subject: note 21360 added to function.ini-get
Groups: php.notes 
Request: Send a blank email to php-notes+get-30398@lists.php.net to get a copy of this message
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.) -- http://www.php.net/manual/en/function.ini-get.php http://master.php.net/manage/user-notes.php?action=edit+21360 http://master.php.net/manage/user-notes.php?action=delete+21360 http://master.php.net/manage/user-notes.php?action=reject+21360

« previous php.notes (#30398) next »