mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
d9f3ca705c
Implements initial stage of accepted RFC to remove them: https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode Tests relating to SOAP and htmlspecialchars seem to have been using this entirely unnecessarily, so have been fixed. Closes GH-8726.
10 lines
233 B
PHP
10 lines
233 B
PHP
--TEST--
|
|
Bug #43957 (utf8_decode() bogus conversion on multibyte indicator near end of string)
|
|
--FILE--
|
|
<?php
|
|
echo utf8_decode('abc'.chr(0xe0));
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: Function utf8_decode() is deprecated in %s on line %d
|
|
abc?
|