1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

MFH (skip conditions for tests)

This commit is contained in:
Ilia Alshanetsky
2002-11-14 14:19:03 +00:00
parent 5386b85b15
commit bcaf766768
3 changed files with 12 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,7 +1,12 @@
--TEST--
Function overloading test (said to be harmful)
--SKIPIF--
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
<?php
extension_loaded('mbstring') or die('skip mbstring not available');
if (!function_exists("mail")) {
die('skip mail() function is not available.');
}
?>
--INI--
output_handler=
mbstring.func_overload=7