php-src/ext/standard/tests/strings/bug43957.phpt
Gabriel Caruso ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00

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?