Skip to content

Commit 415c2fb

Browse files
committed
fixup! sxe
1 parent 086ea4c commit 415c2fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/simplexml/tests/simplexml_load_stream_broken.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ var_dump($sxe);
4343
int(8192)
4444
int(8192)
4545
%A
46-
Warning: simplexml_load_stream(): Entity: line 1: parser error : Premature end of data in tag root line 1 in %s on line %d
46+
Warning: simplexml_load_stream(): Entity: line 1: parser error : %s
4747

4848
Warning: simplexml_load_stream(): <root><child/> in %s on line %d
4949

50-
Warning: simplexml_load_stream(): ^ in %s on line %d
50+
Warning: simplexml_load_stream():%s^ in %s on line %d
5151
bool(false)

ext/simplexml/tests/simplexml_load_stream_memory_with_encoding.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ simplexml
66
<?php
77

88
$tmp = fopen("php://memory", "w+");
9-
fwrite($tmp, '<?xml version="1.0" encoding="Shift-JIS"?><root>ééé</root>');
9+
fwrite($tmp, '<?xml version="1.0" encoding="SHIFT_JIS"?><root>ééé</root>');
1010
rewind($tmp);
1111
$sxe1 = simplexml_load_stream($tmp, encoding: 'UTF-8');
1212
rewind($tmp);

0 commit comments

Comments
 (0)