Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4380 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21723 invoked by uid 1010); 4 Sep 2003 16:31:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21636 invoked from network); 4 Sep 2003 16:31:01 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 4 Sep 2003 16:31:01 -0000 Received: (qmail 2613 invoked from network); 4 Sep 2003 16:30:47 -0000 Received: from localhost (HELO zeev-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 4 Sep 2003 16:30:47 -0000 Reply-To: zeev@zend.com Message-ID: <5.1.0.14.2.20030904193606.0434e3d8@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 04 Sep 2003 19:36:23 +0300 To: Sebastian Bergmann Cc: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] SimpleXML bug From: zeev@zend.com (Zeev Suraski) Don't get anywhere near foreach and SimpleXML right now. It's in the works :) Zeev At 19:24 04/09/2003, Sebastian Bergmann wrote: > The following script > > $root = simplexml_load_string(' > > > > '); > > foreach ($root->child as $child) { > var_dump($child); > } > ?> > > does not print anything while > > $root = simplexml_load_string(' > > > > > '); > > foreach ($root->child as $child) { > var_dump($child); > } > ?> > > correctly prints > > object(simplexml_element)#2 (0) { > } > object(simplexml_element)#3 (0) { > } > >-- >Sebastian Bergmann >http://sebastian-bergmann.de/ http://phpOpenTracker.de/ > >Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php