Commit 6c988e0abb0 for php.net

commit 6c988e0abb0b341c5f21ef799437728b4b58f75f
Author: Calvin Buckley <calvinb@php.net>
Date:   Mon Jul 20 16:15:14 2026 -0300

    main: Add AIX to PHP_OS_FAMILY (#22834)

    There are two OSes in this family: AIX itself, and IBM i PASE, which
    provides an AIX syscall emulation environment. uname is different
    between them (AIX/OS400).

diff --git a/UPGRADING b/UPGRADING
index 1b7cda4b861..e1976941ddf 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -566,6 +566,8 @@ PHP 8.6 UPGRADE NOTES
 - Core:
   . In case of a hard OOM PHP now calls abort() instead of exit(1), changing
     the exit code to 134 and possibly creating a core dump.
+  . The PHP_OS_FAMILY constant has an AIX value for when running on AIX or
+    IBM i via PASE.

 ========================================
 14. Performance Improvements
diff --git a/main/php.h b/main/php.h
index c7516bca312..a0c639810b8 100644
--- a/main/php.h
+++ b/main/php.h
@@ -42,6 +42,8 @@
 # define PHP_OS_FAMILY			"Darwin"
 #elif defined(__sun__)
 # define PHP_OS_FAMILY			"Solaris"
+#elif defined(_AIX)
+# define PHP_OS_FAMILY			"AIX"
 #elif defined(__linux__)
 # define PHP_OS_FAMILY			"Linux"
 #else