summaryrefslogtreecommitdiff
path: root/ext/mbstring/tests/mb_send_mail05.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2005-06-10 18:06:44 +0000
committerSVN Migration <svn@php.net>2005-06-10 18:06:44 +0000
commit02889a1980340caaa4f2450c834da87fb675f848 (patch)
tree2e0b0f07f6810a635d5ecba89f63b6bfb63126f8 /ext/mbstring/tests/mb_send_mail05.phpt
parent3b1f8e9ad74ad07580e4248b39fd0db261c31aa0 (diff)
downloadphp-git-php-5.0.1b1.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_0_1b1'.php-5.0.1b1
Diffstat (limited to 'ext/mbstring/tests/mb_send_mail05.phpt')
-rw-r--r--ext/mbstring/tests/mb_send_mail05.phpt42
1 files changed, 0 insertions, 42 deletions
diff --git a/ext/mbstring/tests/mb_send_mail05.phpt b/ext/mbstring/tests/mb_send_mail05.phpt
deleted file mode 100644
index 7033424b80..0000000000
--- a/ext/mbstring/tests/mb_send_mail05.phpt
+++ /dev/null
@@ -1,42 +0,0 @@
---TEST--
-mb_send_mail() test 5 (lang=Simplified Chinese)
---SKIPIF--
-<?php
-if (@mb_send_mail() === false || !mb_language("Simplified Chinese")) {
- die("skip mb_send_mail() not available");
-}
-if (!@mb_internal_encoding('GB2312')) {
- die("skip GB2312 encoding is not available on this platform");
-}
-?>
---INI--
-sendmail_path=/bin/cat
---FILE--
-<?php
-$to = 'example@example.com';
-
-/* default setting */
-mb_send_mail($to, mb_language(), "test");
-
-/* Simplified Chinese (HK-GB-2312) */
-if (mb_language("simplified chinese")) {
- mb_internal_encoding('GB2312');
- mb_send_mail($to, "²βΡι ".mb_language(), "²βΡι");
-}
-?>
---EXPECTF--
-To: example@example.com
-Subject: %s
-Mime-Version: 1.0
-Content-Type: text/plain; charset=%s
-Content-Transfer-Encoding: %s
-
-%s
-To: example@example.com
-Subject: =?HZ-GB-2312?B?fnsyYlFpfn0gU2ltcGxpZmllZCBD?=
- =?HZ-GB-2312?B?aGluZXNl?=
-Mime-Version: 1.0
-Content-Type: text/plain; charset=HZ-GB-2312
-Content-Transfer-Encoding: 7bit
-
-~{2bQi~}