Edit report at https://bugs.php.net/bug.php?id=51094&edit=1
ID: 51094 Comment by: mattfic...@php.net Reported by: viaujoc at videotron dot ca Summary: parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon Status: Closed Type: Bug Package: Filesystem function related PHP Version: * Assigned To: pierrick Block user comment: N Private report: N New Comment: I think thats it. The build where it was failing for me was r8779a9a, but it now passes on a build of the newer rd24d5b6. Previous Comments: ------------------------------------------------------------------------ [2012-06-08 01:21:21] pierr...@php.net This is strange, it's working well on my side. I'm on Linux but this kind of things should not change. Could you please verify that you have the last version of the Zend/zend_ini_scanner_defs.h and Zend/zend_ini_scanner.c files (they were committed just after the .l). You could regenerate those files using this command : re2c --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l to see if you have any differences Thanks ------------------------------------------------------------------------ [2012-06-07 22:05:27] mattfic...@php.net This fails for me with 5.4.5-dev on Windows 7. The diff when I run it: 001+ string(4) ""ini" 002+ string(4) ""ini" 001- string(7) "ini;raw" 002- string(8) ""ini;raw" ------------------------------------------------------------------------ [2012-06-07 16:24:05] pierr...@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/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2012-06-07 15:59:10] pierr...@php.net Automatic comment on behalf of pierrick Revision: http://git.php.net/?p=php-src.git;a=commit;h=fed5923dbc849659321a4f9aa96634ddd1655229 Log: Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon) ------------------------------------------------------------------------ [2012-06-07 13:32:26] pierr...@php.net The following patch has been added/updated: Patch Name: bug51094.diff Revision: 1339075946 URL: https://bugs.php.net/patch-display.php?bug=51094&patch=bug51094.diff&revision=1339075946 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=51094 -- Edit this bug report at https://bugs.php.net/bug.php?id=51094&edit=1