diff options
| author | foobar <sniper@php.net> | 2005-11-01 14:36:37 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-11-01 14:36:37 +0000 |
| commit | f803888510e225bf16eb9b8dc1627da8b5addf73 (patch) | |
| tree | 163313a3ccb95386ac60d9778fa445862446cc9f /ext/xml/tests | |
| parent | fbc6470cb6479f7ebabd693cf82303fa2339f197 (diff) | |
| download | php-git-f803888510e225bf16eb9b8dc1627da8b5addf73.tar.gz | |
MFH: Hiding bugs is not purpose of the regression tests.
Diffstat (limited to 'ext/xml/tests')
| -rw-r--r-- | ext/xml/tests/bug32001.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/xml/tests/bug32001.phpt b/ext/xml/tests/bug32001.phpt index 8427f4c4d1..22f405ae53 100644 --- a/ext/xml/tests/bug32001.phpt +++ b/ext/xml/tests/bug32001.phpt @@ -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 |
