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

Reply via email to