summaryrefslogtreecommitdiff
path: root/ext/simplexml/examples/xpath.php
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2017-10-05 00:30:53 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-10-05 12:35:19 +0200
commit5971180aa692f536859f38db26f58d29a2682404 (patch)
treecad36923cd2f057339e700453b0a094bb2a4f8e8 /ext/simplexml/examples/xpath.php
parentd5cb3587658e0ad5914d26318d16981ad582f57c (diff)
downloadphp-git-5971180aa692f536859f38db26f58d29a2682404.tar.gz
Remove PHP examples from simplexml
Diffstat (limited to 'ext/simplexml/examples/xpath.php')
-rw-r--r--ext/simplexml/examples/xpath.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/simplexml/examples/xpath.php b/ext/simplexml/examples/xpath.php
deleted file mode 100644
index 8fcd9878ab..0000000000
--- a/ext/simplexml/examples/xpath.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-$books = simplexml_load_file('book.xml');
-
-$xpath_result = $books->xpath("/books/book/title");
-foreach($xpath_result as $entry ) {
- print "$entry \n";
-}
-
-?>