xref: /PHP-5.6/ext/mbstring/tests/bug31911.phpt (revision c92ae847)
1--TEST--
2Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--FILE--
6<?php
7echo mb_decode_mimeheader("Works: =?iso-8859-1?q?=3F=3F=3F?=");
8echo "\n";
9echo mb_decode_mimeheader("Fails: =?iso-8859-1?q?=3f=3f=3f?=")
10?>
11--EXPECT--
12Works: ???
13Fails: ???
14