mirror of
https://github.com/php/php-src.git
synced 2025-01-02 17:03:40 +08:00
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts, so I've made the test more generic.
This commit is contained in:
parent
a3a5b2197c
commit
03ef913497
@ -28,14 +28,14 @@ var_dump($decoded['X-Foo']);
|
|||||||
var_dump($decoded['X-Bar']);
|
var_dump($decoded['X-Bar']);
|
||||||
var_dump($decoded['To']);
|
var_dump($decoded['To']);
|
||||||
?>
|
?>
|
||||||
--EXPECT--
|
--EXPECTF--
|
||||||
string(17) "<foo@example.com>"
|
string(17) "<foo@example.com>"
|
||||||
string(29) "=?ks_c_5601-1987?B?UkU6odk=?="
|
string(%d) "%s"
|
||||||
string(33) "=?ks_c_5601-1987?B?UkU6odk=?= Foo"
|
string(%d) "%sFoo"
|
||||||
string(33) "=?ks_c_5601-1987?B?UkU6odk=?= Foo"
|
string(%d) "%sFoo"
|
||||||
string(18) "<test@example.com>"
|
string(18) "<test@example.com>"
|
||||||
string(17) "<foo@example.com>"
|
string(17) "<foo@example.com>"
|
||||||
string(29) "=?ks_c_5601-1987?B?UkU6odk=?="
|
string(%d) "%s"
|
||||||
string(33) "=?ks_c_5601-1987?B?UkU6odk=?= Foo"
|
string(%d) "%sFoo"
|
||||||
string(33) "=?ks_c_5601-1987?B?UkU6odk=?= Foo"
|
string(%d) "%sFoo"
|
||||||
string(18) "<test@example.com>"
|
string(18) "<test@example.com>"
|
||||||
|
Loading…
Reference in New Issue
Block a user