note 24540 deleted from function.parse-ini-file by sniper
| From: | sniper@php.net | Date: | Thu, 27 Mar 2003 12:29:29 +0000 |
| Subject: | note 24540 deleted from function.parse-ini-file by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45893@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