iliaa Wed Nov 13 12:16:33 2002 EDT Modified files: /php4/ext/mbstring/tests overload.phpt Log: Added a skip condition for when mail() function is not avaliable. Index: php4/ext/mbstring/tests/overload.phpt diff -u php4/ext/mbstring/tests/overload.phpt:1.1 php4/ext/mbstring/tests/overload.phpt:1.2 --- php4/ext/mbstring/tests/overload.phpt:1.1 Fri Nov 8 02:22:10 2002 +++ php4/ext/mbstring/tests/overload.phpt Wed Nov 13 12:16:33 2002 @@ -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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php