Skip to content

Commit b572f07

Browse files
committed
Merge branch 'PHP-5.5'
2 parents a3c0942 + 46e612a commit b572f07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/sockets/tests/mcast_ipv6_recv.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ if (!defined('IPPROTO_IPV6')) {
99
die('skip IPv6 not available.');
1010
}
1111
$s = socket_create(AF_INET6, SOCK_DGRAM, SOL_UDP);
12+
if ($s === false) {
13+
die("skip unable to create socket");
14+
}
1215
$br = socket_bind($s, '::', 3000);
1316
/* On Linux, there is no route ff00::/8 by default on lo, which makes it
1417
* troublesome to send multicast traffic from lo, which we must since

0 commit comments

Comments
 (0)