Yet two wrong version checks

This commit is contained in:
Anatol Belski 2017-10-20 16:54:47 +02:00
parent ae6d877f54
commit 65d4bd0311
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,8 @@ IntlTimeZone::getIDForWindowsID basic test
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled'); ?>
<?php if (version_compare(INTL_ICU_VERSION, '58.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 >= 58.1'); ?>
--FILE--
<?php

View File

@ -5,7 +5,7 @@ IntlTimeZone::getWindowsID basic test
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 >= 58.1'); ?>
<?php if (version_compare(INTL_ICU_VERSION, '58.1') < 0) die('skip for ICU >= 58.1'); ?>
--FILE--
<?php