mirror of
https://github.com/php/php-src.git
synced 2024-12-27 02:39:39 +08:00
c92ae847c7
fix existing ones
14 lines
355 B
PHP
14 lines
355 B
PHP
--TEST--
|
|
Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
|
|
--SKIPIF--
|
|
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
|
|
--FILE--
|
|
<?php
|
|
echo mb_decode_mimeheader("Works: =?iso-8859-1?q?=3F=3F=3F?=");
|
|
echo "\n";
|
|
echo mb_decode_mimeheader("Fails: =?iso-8859-1?q?=3f=3f=3f?=")
|
|
?>
|
|
--EXPECT--
|
|
Works: ???
|
|
Fails: ???
|