1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Skip lc_ctype_inheritance.phpt on macos 15+

This commit is contained in:
Shivam Mathur
2025-10-13 20:48:24 +00:00
parent 742b7d8e55
commit 2f2fb1fbf1

View File

@@ -2,6 +2,9 @@
Do not inherit LC_CTYPE from environment
--SKIPIF--
<?php
if (PHP_OS_FAMILY === 'Darwin' && version_compare(php_uname('r'), '24.0.0', '>=')) {
die('skip macOS 15 inherits LC_CTYPE into the thread locale');
}
if (!setlocale(LC_CTYPE, "de_DE", "de-DE")) die("skip requires de_DE locale");
?>
--ENV--