php-8.0.30-src/ext/standard/tests/strings/bug43957.phpt

9 lines
166 B
PHP

--TEST--
Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
--FILE--
<?php
echo utf8_decode('abc'.chr(0xe0));
?>
--EXPECT--
abc?