|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-27 04:43 UTC] curt@php.net
[2004-07-27 11:44 UTC] vrana@php.net
[2007-08-02 14:26 UTC] philip@php.net
[2007-08-20 14:32 UTC] vrana@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 10 09:00:01 2025 UTC |
Description: ------------ the parse_ini_file doesn't work as in older php-versions: the paragraph starting with 0... (for example 0815) wasn't handled correctly. please create the following test.ini file [01] e=e f=f [02] g=g h=h [1] a=a b=b [2] c=c d=d [0815] bla=bla Reproduce code: --------------- print_r(parse_ini_file("test.ini",true)); Expected result: ---------------- Array ( [01] => Array ( [e] => e [f] => f ) [02] => Array ( [g] => g [h] => h ) [1] => Array ( [a] => a [b] => b ) [2] => Array ( [c] => c [d] => d ) [0815] => Array ( [bla] => bla ) ) Actual result: -------------- Array ( [1] => Array ( [a] => a [b] => b ) [2] => Array ( [c] => c [d] => d ) [0] => Array ( [bla] => bla ) )