From: flaimo+php at gmail dot com Operating system: Windows XP SP3, Apache 2.2 PHP version: 5.3.0beta1 PHP Bug Type: PHP options/info functions Bug description: parse_ini_file() throws parse error when key contains "/"
Description: ------------ with 5.3 parse_ini_file() throws parse error if one of the keys contains "/" like in the example below. the same file is parsed correctly in 5.2.5. i think it may have something to do with the changes made in http://bugs.php.net/bug.php?id=42069. Reproduce code: --------------- ini file: [abbr] ; abbr = full name | language of the abbr c.a.d. = "cash against documents | en" d/s = "days after sight | en" f.a.a. = "free of all average | en" n.d. = "no date | en" Expected result: ---------------- no error Actual result: -------------- Warning: parse error in ../locale/en/words.ini on line 30 in W:\i18n_v2\inc\class.I18NformatString.inc.php on line 103 -- Edit bug report at http://bugs.php.net/?id=47332&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47332&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47332&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47332&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47332&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47332&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47332&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47332&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47332&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47332&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47332&r=support Expected behavior: http://bugs.php.net/fix.php?id=47332&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47332&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47332&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47332&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47332&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47332&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47332&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47332&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47332&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47332&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47332&r=mysqlcfg