]> granicus.if.org Git - php/commitdiff
Add skip for incompatible ICU version
authorAnatol Belski <ab@php.net>
Fri, 20 Oct 2017 09:27:54 +0000 (11:27 +0200)
committerAnatol Belski <ab@php.net>
Fri, 20 Oct 2017 09:27:54 +0000 (11:27 +0200)
ext/intl/tests/spoofchecker_001.phpt

index 7904b3a4c0aaa497b550d11d056ef411974cdf1a..71cb665849b6212ea9775a5b56a6377719a97ce2 100644 (file)
@@ -2,6 +2,7 @@
 spoofchecker suspicious character checker
 --SKIPIF--
 <?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
+<?php if (version_compare(INTL_ICU_VERSION, '57.1') >= 0)die('skip for ICU <= 57.1'); ?>
 --FILE--
 <?php