1--TEST--
2ext/sockets - socket_listen - test with empty parameters
3--CREDITS--
4Florian Anderiasch
5fa@php.net
6--SKIPIF--
7<?php
8    if (!extension_loaded('sockets')) {
9        die('skip sockets extension not available.');
10    }
11?>
12--FILE--
13<?php
14    // wrong parameter count
15    $s_c = socket_listen();
16    var_dump($s_c);
17?>
18--EXPECTF--
19
20Warning: socket_listen() expects at least 1 parameter, 0 given in %s on line %i
21NULL
22