1--TEST--
2socket_accept() failure
3--EXTENSIONS--
4sockets
5--FILE--
6<?php
7
8$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
9var_dump(socket_accept($socket));
10
11?>
12--EXPECTF--
13Warning: socket_accept(): unable to accept incoming connection [%d]: %s in %s on line %d
14bool(false)
15