1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/xml/tests/bug43957.phpt
Rasmus Lerdorf b5ff09a345 Fixed bug #43957
2008-01-29 23:29:04 +00:00

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?