Skip to content

Commit 2f2fb1f

Browse files
committed
Skip lc_ctype_inheritance.phpt on macos 15+
1 parent 742b7d8 commit 2f2fb1f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/tests/lc_ctype_inheritance.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
Do not inherit LC_CTYPE from environment
33
--SKIPIF--
44
<?php
5+
if (PHP_OS_FAMILY === 'Darwin' && version_compare(php_uname('r'), '24.0.0', '>=')) {
6+
die('skip macOS 15 inherits LC_CTYPE into the thread locale');
7+
}
58
if (!setlocale(LC_CTYPE, "de_DE", "de-DE")) die("skip requires de_DE locale");
69
?>
710
--ENV--

0 commit comments

Comments
 (0)