xref: /PHP-5.4/ext/sockets/tests/ipv6_skipif.inc (revision a100c25e)
1<?php
2if (!defined("AF_INET6")) {
3	die('skip no IPv6 support');
4}
5if (@stream_socket_client('udp://[::1]:8888') === false)
6	die('skip no IPv6 support');
7