Bug #53477 [Opn->Fbk]: Class inplements SeekableInterator can't access by foreach
| From: | johannes@php.net | Date: | Sun, 05 Dec 2010 15:42:02 +0000 |
| Subject: | Bug #53477 [Opn->Fbk]: Class inplements SeekableInterator can't access by foreach | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156765@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53477&edit=1
ID: 53477
Updated by: johannes@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