Works fine from CVS. This was most likely fixed with the iterator stuff from
Marcus.

Rob

From: George Schlossnagle
> The following code loops indefinitely.
>
> $conf = simplexml_load_file("status.xml");
> foreach($conf->services->service as $service) {
>    print $service->params->description."\n";
>    foreach($service->params as $foo) {
>      print "$foo\n";
>    }
> }

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to