mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
14 lines
287 B
PHP
14 lines
287 B
PHP
--TEST--
|
|
Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
|
|
--SKIPIF--
|
|
<?php
|
|
require_once("skipif.inc");
|
|
if (!extension_loaded('xml')) die ("skip xml extension not available");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
echo utf8_decode('abc'.chr(0xe0));
|
|
?>
|
|
--EXPECTF--
|
|
abc?
|