summaryrefslogtreecommitdiff
path: root/ext/iconv
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-22 17:25:28 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-22 17:26:01 +0200
commita1e2c8870ebfdc1c2d9fa25327bc3dad5bd68c91 (patch)
tree1ba6ec4f9b3f51ef407c2903af2ad7815f8b69ca /ext/iconv
parent7a1540fa2872a67080f2161faff226c1effebf76 (diff)
parentd59aac58b3e7da7ad01a194fe9840d89725ea229 (diff)
downloadphp-git-a1e2c8870ebfdc1c2d9fa25327bc3dad5bd68c91.tar.gz
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/iconv')
-rw-r--r--ext/iconv/tests/bug76249.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/iconv/tests/bug76249.phpt b/ext/iconv/tests/bug76249.phpt
index 0a2dcaed2f..25bbf2a41f 100644
--- a/ext/iconv/tests/bug76249.phpt
+++ b/ext/iconv/tests/bug76249.phpt
@@ -10,11 +10,10 @@ rewind($fh);
if (false === @stream_filter_append($fh, 'convert.iconv.ucs-2/utf8//IGNORE', STREAM_FILTER_READ, [])) {
stream_filter_append($fh, 'convert.iconv.ucs-2/utf-8//IGNORE', STREAM_FILTER_READ, []);
}
-$a = stream_get_contents($fh);
-var_dump(strlen($a));
+var_dump(stream_get_contents($fh));
?>
DONE
--EXPECTF--
Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte sequence in %sbug76249.php on line %d
-int(3)
+string(0) ""
DONE