1--TEST--
2Test parameter handling in socket_accept()
3--SKIPIF--
4<?php
5if (!extension_loaded('sockets')) {
6    die('SKIP The sockets extension is not loaded.');
7}
8--FILE--
9<?php
10var_dump(socket_accept(null));
11--CREDITS--
12Till Klampaeckel, till@php.net
13Berlin TestFest 2009
14--EXPECTF--
15Warning: socket_accept() expects parameter 1 to be resource, null given in %s on line %d
16NULL
17