summaryrefslogtreecommitdiff
path: root/ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-04-01 21:28:54 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-04-01 23:28:01 +0100
commit95fbae891a653758a0e52879af808af7eedfb043 (patch)
treeeac7a015b341bf1a474fd0d1a65c5487f50c9288 /ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
parent69f75bb43c7e6f2e8b4661ff48aaf68b9b9b2c5c (diff)
downloadphp-git-95fbae891a653758a0e52879af808af7eedfb043.tar.gz
Compatibility with old versions of ICU (4.0+).
Diffstat (limited to 'ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt')
-rw-r--r--ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt b/ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
index 7e1207d344..2afe171c58 100644
--- a/ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
+++ b/ext/intl/tests/timezone_createTimeZoneIDEnumeration_variant2.phpt
@@ -4,6 +4,8 @@ IntlTimeZone::createTimeZoneIDEnumeration(): variant without region
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
+if (version_compare(INTL_ICU_VERSION, '4.8') < 0)
+ die('skip for ICU 4.8+');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);