mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
Added a skip condition for when the encoding needed for the test is not
available or supported.
This commit is contained in:
parent
244d5d1c11
commit
b0d519f730
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@ mb_send_mail() test 5 (lang=Simplified Chinese)
|
|||
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 avaliable on this platform");
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
sendmail_path=cat
|
||||
|
|
|
@ -5,6 +5,9 @@ mb_send_mail() test 6 (lang=Traditional Chinese)
|
|||
if (@mb_send_mail() === false || !mb_language("Traditional Chinese")) {
|
||||
die("skip mb_send_mail() not available");
|
||||
}
|
||||
if (!@mb_internal_encoding('BIG5')) {
|
||||
die("skip BIG5 encoding is not avaliable on this platform");
|
||||
}
|
||||
?>
|
||||
--INI--
|
||||
sendmail_path=cat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue