1--TEST--
2ext/sockets - socket_close - 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_close();
16    var_dump($s_c);
17?>
18--EXPECTF--
19
20Warning: socket_close() expects exactly 1 parameter, 0 given in %s on line %i
21NULL
22