From 21d90d6ac40eebf68b52a8f0691c5d956d0187ba Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 9 Jun 2003 04:01:11 +0000 Subject: ok, this is a zend bug. --- ext/simplexml/examples/book.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/simplexml/examples/book.php') diff --git a/ext/simplexml/examples/book.php b/ext/simplexml/examples/book.php index 762f855c52..0416df861b 100644 --- a/ext/simplexml/examples/book.php +++ b/ext/simplexml/examples/book.php @@ -1,6 +1,7 @@ book; - +$books = simplexml_load_file('book.xml'); +//var_dump($books); +$books = $books->book; foreach ($books as $book) { echo "{$book->title} was written by {$book->author}\n"; } -- cgit v1.2.1