Edit report at https://bugs.php.net/bug.php?id=50340&edit=1

 ID:                 50340
 Comment by:         chaeril at live dot com
 Reported by:        dcgear at gmail dot com
 Summary:            php.ini parser does not allow spaces in ini keys
 Status:             Closed
 Type:               Bug
 Package:            PHP options/info functions
 Operating System:   *
 PHP Version:        5.3.1
 Block user comment: N
 Private report:     N

 New Comment:

i use PHP Version 5.4.7 and when parsing name = *Z NULL Weapon* this error 
shows up


Previous Comments:
------------------------------------------------------------------------
[2009-11-30 22:38:44] j...@php.net

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.



------------------------------------------------------------------------
[2009-11-30 22:38:33] s...@php.net

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 https://bugs.php.net/bug.php?id=50340&edit=1

Reply via email to