php-developer-list | 2001122
Date: 12/20/01
- Next message: kv <email protected>: "[PHP-DEV] Bug #14618: Undefined Symbol: ldap_parse_reference"
- Previous message: adam <email protected>: "[PHP-DEV] Bug #14616: Linking PHP with external static Libtool libraries fails."
- Next in thread: martin <email protected>: "[PHP-DEV] Bug #14617 Updated: socket_recv() arguments"
- Reply: martin <email protected>: "[PHP-DEV] Bug #14617 Updated: socket_recv() arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: martin <email protected>
Operating system: Windows 2000
PHP version: 4.1.0
PHP Bug Type: Sockets related
Bug description: socket_recv() arguments
According to http://www.php.net/manual/en/function.socket-recv.php the
socket_recv() parameters are as follows:
mixed socket_recv (resource socket, int len, int flags)
An attempt with:
$row = socket_recv($handle, 1024, PHP_NORMAL_READ);
Says Warning: socket_recv() expects exactly 2 parameters, 3 given in xxx on
line 103
$row = socket_recv($handle, 1024);
Says Warning: socket_recv() expects parameter 2 to be resource, integer
given in xxx on line 103
$row = socket_recv(1024, $handle);
Says Warning: socket_recv() expects parameter 1 to be resource, integer
given in xxx on line 103
-- Edit bug report at: http://bugs.php.net/?id=14617&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: kv <email protected>: "[PHP-DEV] Bug #14618: Undefined Symbol: ldap_parse_reference"
- Previous message: adam <email protected>: "[PHP-DEV] Bug #14616: Linking PHP with external static Libtool libraries fails."
- Next in thread: martin <email protected>: "[PHP-DEV] Bug #14617 Updated: socket_recv() arguments"
- Reply: martin <email protected>: "[PHP-DEV] Bug #14617 Updated: socket_recv() arguments"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

