Bug #14577: socket_read() always in binary mode
| From: | martin at humany dot com | Date: | Tue, 18 Dec 2001 13:27:19 +0000 |
| Subject: | Bug #14577: socket_read() always in binary mode | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-74247@lists.php.net to get a copy of this message | ||
From: martin@humany.com
Operating system: Windows 2000
PHP version: 4.1.0
PHP Bug Type: Sockets related
Bug description: socket_read() always in binary mode
i pass PHP_NORMAL_READ to socket_read() to read until next \n or \r as
sockets.c tells. if i specify for example 200 as the length i get a 200
byte string back that includes multiple \n
--
Edit bug report at: http://bugs.php.net/?id=14577&edit=1