Edit report at http://bugs.php.net/bug.php?id=53477&edit=1
ID: 53477 Updated by: johan...@php.net Reported by: takira0922 at gmail dot com Summary: Class inplements SeekableInterator can't access by foreach -Status: Open +Status: Feedback Type: Bug Package: SPL related Operating System: Windows Server 2008 R2 PHP Version: 5.2.14 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2010-12-05 15:46:01] takira0922 at gmail dot com 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 this bug report at http://bugs.php.net/bug.php?id=53477&edit=1