com php-src: Version checks: ext/intl/tests/timezone_IDforWin dowsID_basic2.phpt ext/intl/tests/timezone_windowsID _basic.phpt
ext/intl/tests/timezone_windowsID_basic 2.phpt
| From: | Anatol Belski | Date: | Fri, 20 Oct 2017 16:26:14 +0000 |
| Subject: | com php-src: Version checks: ext/intl/tests/timezone_IDforWin dowsID_basic2.phpt ext/intl/tests/timezone_windowsID _basic.phpt ext/intl/tests/timezone_windowsID_basic 2.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99820@lists.php.net to get a copy of this message | ||
Commit: 7027a1643f04f747f32e77885f78b9fdf12fcdb2
Author: Anatol Belski <ab@php.net> Fri, 20 Oct 2017 18:26:14 +0200
Parents: 65d4bd03117689ce39a2c11c8a6b3dad5f72a84b
Branches: PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7027a1643f04f747f32e77885f78b9fdf12fcdb2
Log:
Version checks
Changed paths:
M ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
M ext/intl/tests/timezone_windowsID_basic.phpt
M ext/intl/tests/timezone_windowsID_basic2.phpt
Diff:
diff --git a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
index 1291dd9..d7d865c 100644
--- a/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
+++ b/ext/intl/tests/timezone_IDforWindowsID_basic2.phpt
@@ -4,7 +4,6 @@ IntlTimeZone::getIDForWindowsID basic test
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled'); ?>
-<?php if (version_compare(INTL_ICU_VERSION, '52') < 0) die('skip for ICU >=
52'); ?>
<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU
>= 58.1'); ?>
--FILE--
<?php
diff --git a/ext/intl/tests/timezone_windowsID_basic.phpt
b/ext/intl/tests/timezone_windowsID_basic.phpt
index 0a9fd3b..370dc45 100644
--- a/ext/intl/tests/timezone_windowsID_basic.phpt
+++ b/ext/intl/tests/timezone_windowsID_basic.phpt
@@ -4,8 +4,8 @@ IntlTimeZone::getWindowsID basic test
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled'); ?>
-<?php if (version_compare(INTL_ICU_VERSION, '52') < 0) die('skip for ICU >=
52'); ?>
-<?php if (version_compare(INTL_ICU_VERSION, '57.1') >= 0) die('skip for ICU
<= 57.1'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '52') < 0)die('skip for ICU >=
52'); ?>
+<?php if (version_compare(INTL_ICU_VERSION, '58.1') >= 0) die('skip for ICU
<= 57.1'); ?>
--FILE--
<?php
diff --git a/ext/intl/tests/timezone_windowsID_basic2.phpt
b/ext/intl/tests/timezone_windowsID_basic2.phpt
index 971c439..528eaad 100644
--- a/ext/intl/tests/timezone_windowsID_basic2.phpt
+++ b/ext/intl/tests/timezone_windowsID_basic2.phpt
@@ -4,7 +4,6 @@ IntlTimeZone::getWindowsID basic test
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled'); ?>
-<?php if (version_compare(INTL_ICU_VERSION, '52') < 0) die('skip for ICU >=
52'); ?>
<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU
>= 58.1'); ?>
--FILE--
<?php