summaryrefslogtreecommitdiff
path: root/ext/intl
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2019-09-28 21:29:54 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-09-30 17:51:41 +0200
commit0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0 (patch)
tree36221c1449522c7cbfb5426bf67374f1a59f54fb /ext/intl
parent1f0ffece91f127f3f67d0738b279a712226a206b (diff)
downloadphp-git-0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0.tar.gz
Fix borked SKIPIFs
Diffstat (limited to 'ext/intl')
-rw-r--r--ext/intl/tests/bug59597_32.phpt2
-rw-r--r--ext/intl/tests/bug59597_64.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/tests/bug59597_32.phpt b/ext/intl/tests/bug59597_32.phpt
index cd8b679171..7a058cf434 100644
--- a/ext/intl/tests/bug59597_32.phpt
+++ b/ext/intl/tests/bug59597_32.phpt
@@ -2,7 +2,7 @@
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
-<?php echo PHP_INT_SIZE == 8 ? "skip 32-bit only" : "OK"; ?>
+<?php if (PHP_INT_SIZE == 8) die("skip 32-bit only"); ?>
--FILE--
<?php
diff --git a/ext/intl/tests/bug59597_64.phpt b/ext/intl/tests/bug59597_64.phpt
index eb70995a25..098df7244b 100644
--- a/ext/intl/tests/bug59597_64.phpt
+++ b/ext/intl/tests/bug59597_64.phpt
@@ -2,7 +2,7 @@
Bug#59597 NumberFormatter::parse() with TYPE_INT64 results in a 32 bit integer
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
-<?php echo PHP_INT_SIZE != 8 ? "skip 64-bit only" : "OK"; ?>
+<?php if (PHP_INT_SIZE != 8) die("skip 64-bit only"); ?>
--FILE--
<?php