You are here: Re: [PHP] Re: php in free() error « PHP « IT news, forums, messages
Re: [PHP] Re: php in free() error

Posted by Gerard Samuel on 02/11/05 03:28

Jason Barnett wrote:

> Gerard Samuel wrote:
> ...
>
>> <?php
>>
>> $array = array(0 => array('world'));
>>
>> class RecursiveArrayIterator extends ArrayIterator implements
>> RecursiveIterator
>> {
>> function hasChildren()
>> {
>> return (is_array($this->current()));
>> }
>>
>> function getChildren()
>> {
>> return new self($this->current());
>> }
>> }
>>
>> $it = new RecursiveIteratorIterator(new RecursiveArrayIterator($array));
>> foreach($it as $key => $val)
>> {
>> var_dump($key, $val);
>> }
>>
>> ?>
>
>
> This may be a platform-specific bug. I ran your test script on my box
> (Win2000, php 5.0.3) and it executed with no errors.


Ok. Off to check for, or post a bug report...
Thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация