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

 ID:                 53894
 Updated by:         fel...@php.net
 Reported by:        h...@php.net
 Summary:            parse_ini_string('no="test"') unexpected BOOL_FALSE
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            Strings related
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This is expected... See the 'notes' section on parse_ini_string()
documentation: http://docs.php.net/parse-ini-string


Previous Comments:
------------------------------------------------------------------------
[2011-01-31 19:24:08] h...@php.net

Description:
------------
When using parse_ini_string or parse_ini_file, if you have the key as
"no" it 

causes a syntax error, unexpected BOOL_FALSE.

Test script:
---------------
<?php parse_ini_string('no="test"')?>

Expected result:
----------------
NULL

Actual result:
--------------
<br /> 

<b>Warning</b>:  syntax error, unexpected BOOL_FALSE in Unknown on line
1

 in <b>/home/.../no.php</b> on line <b>1</b><br /> 


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53894&edit=1

Reply via email to