|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-09-19 14:02 UTC] technik at thomas-heuer dot eu
[2015-05-05 17:10 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Package: Feature/Change Request
+Package: *General Issues
-Assigned To:
+Assigned To: cmb
[2015-05-05 17:10 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 03:00:02 2025 UTC |
Description: ------------ # php -q generate-dlr.php Warning: Error parsing *snip* on line 279 in *snip* on line 77 *snip*(77) : Warning - Error parsing *snip* on line 279 Reproduce code: --------------- In /tmp/test.ini ;======================================================================= ; This is a comment ;======================================================================= [test] testing=test #====================================================================== # This is another comment #====================================================================== [foo] foo=bar And the following in /tmp/test.php <?php $ini = parse_ini_file("/tmp/test.ini", true); print_r($ini); Expected result: ---------------- Warning: Error parsing /tmp/test.ini on line 8 in /tmp/test.php on line 2 /tmp/test.php(2) : Warning - Error parsing /tmp/test.ini on line 8