diff options
| author | Sterling Hughes <sterling@php.net> | 2004-01-17 21:44:22 +0000 |
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2004-01-17 21:44:22 +0000 |
| commit | 594f6433af44e7d223e30b247c8f995ef90a558e (patch) | |
| tree | 7d73ca5db5170989c8eaf19b491b7dc3a5f677c7 /ext/simplexml/examples/xpath.php | |
| parent | cb7e90119f4c231e0394622c4465cd846e215fca (diff) | |
| download | php-git-594f6433af44e7d223e30b247c8f995ef90a558e.tar.gz | |
update the examples
Diffstat (limited to 'ext/simplexml/examples/xpath.php')
| -rw-r--r-- | ext/simplexml/examples/xpath.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/examples/xpath.php b/ext/simplexml/examples/xpath.php index 23253d7b74..8fcd9878ab 100644 --- a/ext/simplexml/examples/xpath.php +++ b/ext/simplexml/examples/xpath.php @@ -1,7 +1,7 @@ <?php $books = simplexml_load_file('book.xml'); -$xpath_result = $books->xsearch("/books/book/title"); +$xpath_result = $books->xpath("/books/book/title"); foreach($xpath_result as $entry ) { print "$entry \n"; } |
