ID: 50340 Updated by: [email protected] Reported By: dcgear at gmail dot com -Status: Open +Status: Closed Bug Type: PHP options/info functions Operating System: * PHP Version: 5.3.1 New Comment:
This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2009-11-30 22:38:33] [email protected] Automatic comment from SVN on behalf of jani Revision: http://svn.php.net/viewvc/?view=revision&revision=291525 Log: - Fixed bug #50340 (php.ini parser does not allow spaces in ini keys) ------------------------------------------------------------------------ [2009-11-30 20:37:03] dcgear at gmail dot com Description: ------------ When using parse_ini_file or parse_ini_string and the key value contains the word "No" the following error is generated: syntax error, unexpected BOOL_FALSE Reproduce code: --------------- parse_ini_string('No value="No value"'); Expected result: ---------------- No output or error message Actual result: -------------- syntax error, unexpected BOOL_FALSE in Unknown on line 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50340&edit=1
