xref: /php-src/ext/mbstring/tests/bug31911.phpt (revision 39131219)
1--TEST--
2Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
3--EXTENSIONS--
4mbstring
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