1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Files
archived-php-src/Zend/tests/bug43477.phpt
T
Antony Dovgal dd862bb3e3 fix #43477 (Error mode ignored in unicode_decode())
patch by Stephen Bach
2008-03-21 12:09:28 +00:00

10 lines
148 B
PHP

--TEST--
Bug #43477 (Unicode error mode)
--FILE--
<?php
var_dump(unicode_decode(b"\xF8", 'UTF-8', U_CONV_ERROR_SKIP));
?>
--EXPECT--
unicode(0) ""