PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Configuration » Config » Bug #9099

bug3137.phpt fails

Details

Submitted2006-10-20 03:09 UTC
Fromaharvey at optimiser dot com
Assignedaashley
StatusClosed
PackageConfig
PHP VersionIrrelevant
OSIrrelevant
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