Home » Configuration » Config » Bug #9099
bug3137.phpt fails
Details
| Submitted | 2006-10-20 03:09 UTC |
|---|---|
| From | aharvey at optimiser dot com |
| Assigned | aashley |
| Status | Closed |
| Package | Config |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-10-20 03:09 UTC] aharvey at optimiser dot com
Description:
------------
Revision 1.20 of Config/Container/PHPArray.php broke bug3137.phpt, as bug3137.phpt expects array keys to be strings in all situations, whereas the phparray container, as of that revision, will output keys as integers if is_int succeeds.
Test script:
---------------
The patch at http://www.adamharvey.name/patches/Config-bug3137-test-fix.patch changes the test in bug3137.phpt to expect an array with integer keys, which makes the test pass for me with Config HEAD.
[2006-10-20 03:27 UTC] aashley at php dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Config