]> granicus.if.org Git - php/commitdiff
fix test
authorAnatol Belski <ab@php.net>
Tue, 25 Aug 2015 15:38:11 +0000 (17:38 +0200)
committerAnatol Belski <ab@php.net>
Wed, 26 Aug 2015 14:39:48 +0000 (16:39 +0200)
ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt

index d4d709753fa69ac50efa5f1d1833f6f88ff4b1e0..75cf5720d5cb7616b730f7dffffe789852a21584 100644 (file)
@@ -8,15 +8,10 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
 --FILE--
 <?php
 $xml = simplexml_load_string("XXXXXXX^",$x,0x6000000000000001);
-var_dump($xml->xpath("BBBB"));
+var_dump($xml);
 ?>
 --EXPECTF--
 Notice: Undefined variable: x in %s on line %d
 
-Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in %s on line %d
-
-Warning: simplexml_load_string(): XXXXXXX^ in %s on line %d
-
-Warning: simplexml_load_string(): ^ in %s on line %d
+Warning: simplexml_load_string(): Invalid options in %s on line %d
 bool(false)
-