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?>
11--FILE--
12<?php
13$sockets = array();
14$domain = AF_INET;
15socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
16
17$write  = null;
18$except = null;
19$time   = -1;
20var_dump(socket_select($sockets, $write, $except, $time));
21?>
22--EXPECT--
23int(0)
24--CREDITS--
25Till Klampaeckel, till@php.net
26Berlin TestFest 2009
27