mirror of
https://github.com/php/php-src.git
synced 2025-01-11 05:24:49 +08:00
- Hiding bugs is not the purpose of the regression tests.
This commit is contained in:
parent
5d671dd4b2
commit
bd7f131a41
@ -1,12 +1,5 @@
|
||||
<?php
|
||||
// This script prints "skip" if condition does not meet.
|
||||
|
||||
// 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");
|
||||
if (!extension_loaded("iconv")) {
|
||||
die("skip iconv extension not available\n");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
@ -2,7 +2,9 @@
|
||||
Bug #32001 (xml_parse*() goes into infinite loop when autodetection in effect)
|
||||
--SKIPIF--
|
||||
<?php
|
||||
if (!function_exists('iconv')) print 'skip';
|
||||
if (!extension_loaded('iconv')) {
|
||||
die ("skip iconv extension not available\n");
|
||||
}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user