Commit b15a786fea6 for php.net

commit b15a786fea67961edd921256c5cbef06af454b53
Author: Michael Orlitzky <michael@orlitzky.com>
Date:   Tue Jun 23 06:10:07 2026 -0400

    ext/sockets/tests/gh21161.phpt: skip if no ipv6 (#22403)

    If AF_INET6 is not defined, we get

      Fatal error: Uncaught Error: Undefined constant "AF_INET6" ...

    before the _expected_ error.

diff --git a/ext/sockets/tests/gh21161.phpt b/ext/sockets/tests/gh21161.phpt
index 8a3958a583d..f8dbe909c8d 100644
--- a/ext/sockets/tests/gh21161.phpt
+++ b/ext/sockets/tests/gh21161.phpt
@@ -7,6 +7,7 @@
 if (substr(PHP_OS, 0, 3) == 'WIN') {
     die('skip.. Not valid for Windows');
 }
+require 'ipv6_skipif.inc';
 ?>
 --FILE--
 <?php