MFH (skip conditions for tests)

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

No files matched your search

+3
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
+3
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
+6 -1
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