note 90429 added to function.parse-ini-file
| From: | tms at infamous dot net | Date: | Wed, 22 Apr 2009 02:39:26 +0000 |
| Subject: | note 90429 added to function.parse-ini-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-153564@lists.php.net to get a copy of this message | ||
This function does not work as advertised with PHP 4.3.9. Repeated keys do not create arrays.
Instead the output of the test program is
Array
(
[one] => 1
[five] => 5
[animal] => Dodo bird
[path] => /usr/local/bin
[URL] => http://www.example.com/~username
[phpversion[]] => 5.3
)
Array
(
[first_section] => Array
(
[one] => 1
[five] => 5
[animal] => Dodo bird
)
[second_section] => Array
(
[path] => /usr/local/bin
[URL] => http://www.example.com/~username
)
[third_section] => Array
(
[phpversion[]] => 5.3
)
)
----
Server IP: 64.71.164.2
Probable Submitter: 66.160.107.230
----
Manual Page -- http://www.php.net/manual/en/function.parse-ini-file.php
Edit -- https://master.php.net/note/edit/90429
Del: integrated -- https://master.php.net/note/delete/90429/integrated
Del: useless -- https://master.php.net/note/delete/90429/useless
Del: bad code -- https://master.php.net/note/delete/90429/bad+code
Del: spam -- https://master.php.net/note/delete/90429/spam
Del: non-english -- https://master.php.net/note/delete/90429/non-english
Del: in docs -- https://master.php.net/note/delete/90429/in+docs
Del: other reasons-- https://master.php.net/note/delete/90429
Reject -- https://master.php.net/note/reject/90429
Search -- https://master.php.net/manage/user-notes.php