Skip to content

Commit b15a786

Browse files
authored
ext/sockets/tests/gh21161.phpt: skip if no ipv6 (php#22403)
If AF_INET6 is not defined, we get Fatal error: Uncaught Error: Undefined constant "AF_INET6" ... before the _expected_ error.
1 parent e121cb2 commit b15a786

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/sockets/tests/gh21161.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ sockets
77
if (substr(PHP_OS, 0, 3) == 'WIN') {
88
die('skip.. Not valid for Windows');
99
}
10+
require 'ipv6_skipif.inc';
1011
?>
1112
--FILE--
1213
<?php

0 commit comments

Comments
 (0)