1--TEST--
2Test parameter handling in socket_select().
3--SKIPIF--
4<?php
5if (!extension_loaded('sockets')) {
6    die('SKIP The sockets extension is not loaded.');
7}
8--FILE--
9<?php
10$sockets = null;
11$write   = null;
12$except  = null;
13$time    = 0;
14
15try {
16    socket_select($sockets, $write, $except, $time);
17} catch (ValueError $exception) {
18    echo $exception->getMessage() . "\n";
19}
20?>
21--EXPECTF--
22socket_select(): At least one array argument must be passed
23--CREDITS--
24Till Klampaeckel, till@php.net
25Berlin TestFest 2009
26