Skip to content

Commit a3dceb4

Browse files
committed
fix test
1 parent 2c523f2 commit a3dceb4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
88
--FILE--
99
<?php
1010
$xml = simplexml_load_string("XXXXXXX^",$x,0x6000000000000001);
11-
var_dump($xml->xpath("BBBB"));
11+
var_dump($xml);
1212
?>
1313
--EXPECTF--
1414
Notice: Undefined variable: x in %s on line %d
1515

16-
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in %s on line %d
17-
18-
Warning: simplexml_load_string(): XXXXXXX^ in %s on line %d
19-
20-
Warning: simplexml_load_string(): ^ in %s on line %d
16+
Warning: simplexml_load_string(): Invalid options in %s on line %d
2117
bool(false)
22-

0 commit comments

Comments
 (0)