com php-src: fix test: ext/simplexml/tests/SimpleXMLElement_x path_4.phpt
| From: | Anatol Belski | Date: | Wed, 26 Aug 2015 14:39:48 +0000 |
| Subject: | com php-src: fix test: ext/simplexml/tests/SimpleXMLElement_x path_4.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88763@lists.php.net to get a copy of this message | ||
Commit: a3dceb485a610808b30f17aae1d2d2ae6f5ccbb6
Author: Anatol Belski <ab@php.net> Tue, 25 Aug 2015 17:38:11 +0200
Parents: 2c523f21c9781f334cd2ef3c494a08b7bea1d8f5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a3dceb485a610808b30f17aae1d2d2ae6f5ccbb6
Log:
fix test
Changed paths:
M ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
Diff:
diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
index d4d7097..75cf572 100644
--- a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
+++ b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
@@ -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)
-