#50936 [Fbk->Csd]: ini key may not have a slash in it
| From: | jani@php.net | Date: | Fri, 05 Feb 2010 12:57:06 +0000 |
| Subject: | #50936 [Fbk->Csd]: ini key may not have a slash in it | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147251@lists.php.net to get a copy of this message | ||
ID: 50936
Updated by: jani@php.net
Reported By: kubelke at kuborgh dot de
-Status: Feedback
+Status: Closed
Bug Type: PHP options/info functions
Operating System: Mac 10.6
PHP Version: 5.3.1
New Comment:
Tested myself, it is fixed.
Previous Comments:
------------------------------------------------------------------------
[2010-02-05 12:56:09] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
IIRC, this was fixed long time ago in SVN repo.
------------------------------------------------------------------------
[2010-02-05 09:01:14] kubelke at kuborgh dot de
Description:
------------
A Slash in ini key leads to an error on mac, pc works. No exception
thrown.
Reproduce code:
---------------
---
From manual page: function.parse-ini-string#Notes
---
try {
$arr = parse_ini_string('ActionTheme.Member/Search = 1');
print_r($arr);
} catch (Exception $e) {
echo $e->getMessage();
}
Expected result:
----------------
Array ( [ActionTheme.Member/Search] => 1 )
Actual result:
--------------
"nothing" not even an empty array
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50936&edit=1