1--TEST--
2Test parameter handling in socket_select().
3--EXTENSIONS--
4sockets
5--SKIPIF--
6<?php
7if (substr(PHP_OS, 0, 3) != 'WIN') {
8    die('skip.. Not valid for non Windows');
9}
10--FILE--
11<?php
12$sockets = array();
13$domain = AF_INET;
14socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
15
16$write  = null;
17$except = null;
18$time   = -1;
19var_dump(socket_select($sockets, $write, $except, $time));
20?>
21--EXPECT--
22int(0)
23--CREDITS--
24Till Klampaeckel, till@php.net
25Berlin TestFest 2009
26