summaryrefslogtreecommitdiff
path: root/ext/intl/tests/resourcebundle_null_mandatory_args.phpt
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-10-07 13:49:10 +0200
committerAnatol Belski <ab@php.net>2013-10-07 13:49:10 +0200
commit4840b0a749454335218f6131892031333d66142d (patch)
treec7a3d2db3c8082510324bf765c81833f5fc3a6e3 /ext/intl/tests/resourcebundle_null_mandatory_args.phpt
parentfa40290fb76370c923e8f048daf1af144ff87604 (diff)
downloadphp-git-4840b0a749454335218f6131892031333d66142d.tar.gz
fixed failing tests for ICU >= 51.2
Diffstat (limited to 'ext/intl/tests/resourcebundle_null_mandatory_args.phpt')
-rw-r--r--ext/intl/tests/resourcebundle_null_mandatory_args.phpt8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/intl/tests/resourcebundle_null_mandatory_args.phpt b/ext/intl/tests/resourcebundle_null_mandatory_args.phpt
index 17fab6d630..bbbc1b1e91 100644
--- a/ext/intl/tests/resourcebundle_null_mandatory_args.phpt
+++ b/ext/intl/tests/resourcebundle_null_mandatory_args.phpt
@@ -3,11 +3,9 @@ ResourceBundle constructor bundle accepts NULL for first two arguments
--INI--
date.timezone=Atlantic/Azores
--SKIPIF--
-<?php
-if (!extension_loaded('intl'))
- die('skip intl extension not enabled');
-if (version_compare(INTL_ICU_VERSION, '4.8') < 0)
- die('skip ICU >= 4.8 only');
+<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '4.8') < 0) die('skip ICU >= 4.8 only'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '51.2') >= 0) die('skip for ICU < 51.2'); ?>
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);