1--TEST--
2ext/sockets - socket_read- test with incorrect parameter
3--CREDITS--
4Florian Anderiasch
5fa@php.net
6--EXTENSIONS--
7sockets
8--FILE--
9<?php
10    $s_c_l = socket_create_listen(0);
11    $s_c = socket_read($s_c_l, 25);
12    socket_close($s_c_l);
13?>
14--EXPECTF--
15Warning: socket_read(): unable to read from socket [%i]: %a in %s on line %d
16