From afabd0575c7abd665cf660161aab0b0ac7982452 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 19 May 2003 18:25:20 +0000 Subject: - Move examples to their own directory --- ext/simplexml/examples/book.php | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ext/simplexml/examples/book.php (limited to 'ext/simplexml/examples/book.php') diff --git a/ext/simplexml/examples/book.php b/ext/simplexml/examples/book.php new file mode 100644 index 0000000000..762f855c52 --- /dev/null +++ b/ext/simplexml/examples/book.php @@ -0,0 +1,7 @@ +book; + +foreach ($books as $book) { + echo "{$book->title} was written by {$book->author}\n"; +} +?> -- cgit v1.2.1