mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
14 lines
287 B
Plaintext
14 lines
287 B
Plaintext
|
--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?
|