note 24540 added to function.parse-ini-file

From: Date: Wed, 21 Aug 2002 00:32:25 +0000
Subject: note 24540 added to function.parse-ini-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-35283@lists.php.net to get a copy of this message
I've noticed that parse_ini_file() actually modifies the value read... at least for the "No", "Yes", "True" and "False" values (PHP 4.2.1/Win32.) Here's what I found: - False => <blank> - True => 1 - Yes => 1 - No => <blank> - 0 => 0 - 1 => 1 - <blank> => <blank> Could be useful, could be a pain... I don't know if this is dependent on your system's language (i.e. English, French...) -Philippe -- http://www.php.net/manual/en/function.parse-ini-file.php http://master.php.net/manage/user-notes.php?action=edit+24540 http://master.php.net/manage/user-notes.php?action=delete+24540 http://master.php.net/manage/user-notes.php?action=reject+24540

« previous php.notes (#35283) next »