Edit report at http://pear.php.net/bugs/bug.php?id=17871&edit=1
ID: 17871
Updated by: [email protected]
Reported By: warnar at dmmw dot nl
Summary: Pyrus\Registry->getIterator not returning traversable
-Status: Open
+Status: Closed
Type: Bug
Package: PEAR
Operating System: Windows 7 x64
Package Version: SVN
PHP Version: 5.3.1
-Assigned To:
+Assigned To: cweiske
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cweiske
moved to https://github.com/pear2/PEAR2_Pyrus/issues/23
Previous Comments:
------------------------------------------------------------------------
[2010-09-16 11:14:43] boekkooi
Description:
------------
When doing a foreach on Config::registry a exception is thrown.
Test script:
---------------
--TEST--
--FILE--
<?php
require __DIR__ . '/setup.php.inc';
foreach ($c->registry as $r) {
}
?>
===DONE===
--CLEAN--
<?php
$dir = __DIR__ . '/testit';
include __DIR__ . '/../../clean.php.inc';
?>
--EXPECT--
===DONE===
Expected result:
----------------
A working foreach
Actual result:
--------------
Fatal error: Uncaught exception 'Exception' with message
'Objects returned by PEAR2\Pyrus\Registry::getIterator() must
be traversable or implement interface Iterator' in
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17871&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.