diff options
author | Anatol Belski <ab@php.net> | 2015-08-25 17:38:11 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-08-26 16:39:48 +0200 |
commit | a3dceb485a610808b30f17aae1d2d2ae6f5ccbb6 (patch) | |
tree | b27d7cf3bf1e44af9a3a4409894210e9f389d2cf /ext/simplexml/tests | |
parent | 2c523f21c9781f334cd2ef3c494a08b7bea1d8f5 (diff) | |
download | php-git-a3dceb485a610808b30f17aae1d2d2ae6f5ccbb6.tar.gz |
fix test
Diffstat (limited to 'ext/simplexml/tests')
-rw-r--r-- | ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt b/ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt index d4d709753f..75cf5720d5 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) - |