From: Sterling Hughes Date: Mon, 19 May 2003 01:56:14 +0000 (+0000) Subject: add sample file X-Git-Tag: RELEASE_1_0_2~750 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bfb5026d667128783ecccd3c22ad6a1e2b1c638;p=php add sample file --- diff --git a/ext/simplexml/book.php b/ext/simplexml/book.php new file mode 100644 index 0000000000..762f855c52 --- /dev/null +++ b/ext/simplexml/book.php @@ -0,0 +1,7 @@ +book; + +foreach ($books as $book) { + echo "{$book->title} was written by {$book->author}\n"; +} +?> diff --git a/ext/simplexml/book.xml b/ext/simplexml/book.xml new file mode 100644 index 0000000000..ea40508e01 --- /dev/null +++ b/ext/simplexml/book.xml @@ -0,0 +1,10 @@ + + + The Grapes of Wrath + John Steinbeck + + + The Pearl + John Steinbeck + +