#33574 [NEW]: parse_ini_file fail sto read values containing "{"
| From: | m at tacker dot org | Date: | Tue, 05 Jul 2005 11:38:41 +0000 |
| Subject: | #33574 [NEW]: parse_ini_file fail sto read values containing "{" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-81401@lists.php.net to get a copy of this message | ||
From: m at tacker dot org
Operating system: Gennto Linux
PHP version: 5.1.0b2
PHP Bug Type: Filesystem function related
Bug description: parse_ini_file fail sto read values containing "{"
Description:
------------
PHP 5.1's parse_ini_file cannot parse this line where 5.0's can:
from_email = NOREPLY.{installation.id}@{mailer.hostname}
Expected result:
----------------
An array with
$config = array(
'from_email' => 'NOREPLY.{installation.id}@{mailer.hostname}'
);
Actual result:
--------------
Warning: Error parsing ../include/config/config.ini
--
Edit bug report at http://bugs.php.net/?id=33574&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33574&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33574&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33574&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33574&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33574&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33574&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33574&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33574&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33574&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33574&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33574&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33574&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33574&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33574&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33574&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33574&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33574&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33574&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33574&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33574&r=mysqlcfg