note 26153 deleted from function.parse-ini-file by sniper
| From: | sniper@php.net | Date: | Thu, 27 Mar 2003 12:29:31 +0000 |
| Subject: | note 26153 deleted from function.parse-ini-file by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45894@lists.php.net to get a copy of this message | ||
I guess that parse_ini_file() uses the same parser that PHP uses to parse the php.ini file.
That's why 'Yes', 'No', 'True', 'False',
'None' are automatically converted to booleans (independent of system language, see note
above).
For a complete syntax and feature description, please see the php.ini-dist file (comment block
'About this file' on top).
Moreover it should be mentioned that parse_ini_file() is pretty fast. It is even faster (and
cleaner) to put configuration information in an ini-file than using a PHP script using define()!