- Hiding bugs is not the purpose of the regression tests.

This commit is contained in:
foobar 2005-11-01 14:36:13 +00:00
parent 5d671dd4b2
commit bd7f131a41
2 changed files with 6 additions and 11 deletions

View File

@ -1,12 +1,5 @@
<?php <?php
// This script prints "skip" if condition does not meet. if (!extension_loaded("iconv")) {
die("skip iconv extension not available\n");
// Do not dl load extension
//if (!extension_loaded("iconv") && ini_get("enable_dl")) {
// $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
// @dl("iconv$dlext");
//}
if (!function_exists("iconv")) {
die("skip iconv function not available\n");
} }
?> ?>

View File

@ -2,7 +2,9 @@
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect) Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect)
--SKIPIF-- --SKIPIF--
<?php <?php
if (!function_exists('iconv')) print 'skip'; if (!extension_loaded('iconv')) {
die ("skip iconv extension not available\n");
}
?> ?>
--FILE-- --FILE--
<?php <?php