From: Operating system: Windows Server 2008 R2 PHP version: 5.2.14 Package: SPL related Bug Type: Bug Bug description:Class inplements SeekableInterator can't access by foreach
Description: ------------ In the index.php, erinus::render should be echo code below: <img id="main-head-base-area-icon" src="source/images/site-icon.png" alt="site-icon"></img> But, the fact is code below: <img ></img> When I insert 'echo $this->Attributes->Count' into System.Web.UI.HtmlControls.HtmlControl.php(Line 35), it echo 3. So, I think that $this->Attributes have 3 items. But between Line 36~39, php can't enter the foreach loop to append string. I don't know why. Please check it. Thanks for all of you. Expected result: ---------------- In the index.php, erinus::render should be echo code below: <img id="main-head-base-area-icon" src="source/images/site-icon.png" alt="site-icon"></img> Actual result: -------------- <img ></img> -- Edit bug report at http://bugs.php.net/bug.php?id=53477&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53477&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53477&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53477&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53477&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53477&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53477&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53477&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53477&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53477&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53477&r=support Expected behavior: http://bugs.php.net/fix.php?id=53477&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53477&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53477&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53477&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53477&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53477&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53477&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53477&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53477&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53477&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53477&r=mysqlcfg
