|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-04-17 17:02 UTC] ab@php.net
-Status: Open
+Status: Not a bug
[2014-04-17 17:02 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 17 22:00:01 2025 UTC |
Description: ------------ If the ini file contains space before [, the parse_ini_file will not get correct result. For ex, change [section] param = value to [section] param=value result will be wrong. Test script: --------------- The simplest test way is to change php.ini's first [PHP] to [PHP] I use a simple solution to fix this. modify Zend/zend_ini_scanner.l line 359 <INITIAL>"[" { => <INITIAL>{TABS_AND_SPACES}*"[" { but this is for 5.5.3