xref: /PHP-5.3/ext/xml/tests/bug43957.phpt (revision b3b51269)
1--TEST--
2Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
3--SKIPIF--
4<?php
5require_once("skipif.inc");
6if (!extension_loaded('xml')) die ("skip xml extension not available");
7?>
8--FILE--
9<?php
10  echo utf8_decode('abc'.chr(0xe0));
11?>
12--EXPECTF--
13abc?
14