1--TEST-- 2socket_select() error conditions 3--EXTENSIONS-- 4sockets 5--FILE-- 6<?php 7$r = $w = $e = ['no resource']; 8try { 9 socket_select($r, $w, $e, 1); 10} catch (TypeError $ex) { 11 echo $ex->getMessage(), PHP_EOL; 12} 13?> 14--EXPECT-- 15socket_select(): Argument #1 ($read) must only have elements of type Socket, string given 16