Commit 8748e2265d1 for php
commit 8748e2265d12d1bbed8e153846adfbe823580831
Author: David Carlier <devnexen@gmail.com>
Date: Fri Nov 20 16:42:28 2026 +0000
Skip the intl_error_name() out-of-range test on 32-bit builds (#25631)
The test passes integers outside the signed 32-bit range to
intl_error_name(). Run it only when PHP integers are 64 bits wide.
Closes #25631
diff --git a/ext/intl/tests/intl_error_name_out_of_range.phpt b/ext/intl/tests/intl_error_name_out_of_range.phpt
index 4b1d0834c6a..f63c8f10130 100644
--- a/ext/intl/tests/intl_error_name_out_of_range.phpt
+++ b/ext/intl/tests/intl_error_name_out_of_range.phpt
@@ -2,6 +2,8 @@
intl_error_name(): a code outside the int range is not truncated
--EXTENSIONS--
intl
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>
--FILE--
<?php
var_dump(intl_error_name(2**32));