Commit 96cbae8f88e for php

commit 96cbae8f88e1d56bda11eaf2505564a0cedf45ec
Author: Ilia Alshanetsky <ilia@ilia.ws>
Date:   Sun Nov 1 11:03:58 2026 -0500

    ext/session: Skip session lock test on Solaris

    Solaris has no flock(), and the fcntl() emulation takes per-process locks
    and needs a writable descriptor for LOCK_EX, so the test cannot observe the
    session file lock from the same process.

diff --git a/ext/session/tests/session_write_close_encode_failure.phpt b/ext/session/tests/session_write_close_encode_failure.phpt
index 1c562f401df..409f2627a61 100644
--- a/ext/session/tests/session_write_close_encode_failure.phpt
+++ b/ext/session/tests/session_write_close_encode_failure.phpt
@@ -3,7 +3,12 @@
 --EXTENSIONS--
 session
 --SKIPIF--
-<?php include('skipif.inc'); ?>
+<?php
+include('skipif.inc');
+if (PHP_OS_FAMILY === 'Solaris') {
+    die("skip Solaris flock() uses per-process fcntl() locks");
+}
+?>
 --INI--
 session.use_cookies=0
 session.cache_limiter=