|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-17 20:57 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 11:00:02 2025 UTC |
Description: ------------ When using multiline INI values, line counter breaks. Seems parser always perceive one directive as one line. So, debugging becomes difficult where are errors in INI file (see example below, directive [other = aa " bb "] has syntax error. Reproduce code: --------------- -- t_pif_line.php -- <?php parse_ini_file('t_pif_line.ini'); ?> -- t_pif_line.ini -- key = "aaa bbb ccc " other = aa " bb " Expected result: ---------------- Warning: Error parsing t_pif_line.ini on line 5 in P:\home\localhost\www\t_pif_line.php on line 2 Actual result: -------------- Warning: Error parsing t_pif_line.ini on line 2 in P:\home\localhost\www\t_pif_line.php on line 2