summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/008.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-01-17 19:41:32 +0000
committerMarcus Boerger <helly@php.net>2004-01-17 19:41:32 +0000
commit9e29f17493284dee81d2842f6067b24fba9538a5 (patch)
tree7bf345c4b3f5ed7c4f205335b3fa7a8f96dc8b1e /ext/simplexml/tests/008.phpt
parentd5d2d9ef492075e6ec55de9af7d3029babda5be7 (diff)
downloadphp-git-9e29f17493284dee81d2842f6067b24fba9538a5.tar.gz
Major bugfix for consistency.
# After long discussions we came to a conclusion on how to make this # extension consistent in itself. # Thanks to Rob for all the work
Diffstat (limited to 'ext/simplexml/tests/008.phpt')
-rw-r--r--ext/simplexml/tests/008.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/tests/008.phpt b/ext/simplexml/tests/008.phpt
index 14912a6673..1726726a1a 100644
--- a/ext/simplexml/tests/008.phpt
+++ b/ext/simplexml/tests/008.phpt
@@ -5,8 +5,8 @@ SimpleXML and XPath
--FILE--
<?php
$sxe = simplexml_load_file(dirname(__FILE__).'/sxe.xml');
-var_dump($sxe->xsearch("elem1/elem2/elem3/elem4"));
-var_dump($sxe->xsearch("***"));
+var_dump($sxe->xpath("elem1/elem2/elem3/elem4"));
+var_dump($sxe->xpath("***"));
?>
--EXPECTF--
array(1) {