Re: [PHP] php-4.3.0pre2, fgets and socket_get_status

2002-11-25 Thread Stephen Grier
Does anyone know of any significant changes to the fgets() function in php-4.3.0pre2 which might affect reading from a socket a single byte at a time in the way I describe below? I've had to change to using fread() instead, which is fine, but I'd like to know why I've had to do this, and whether th

[PHP] php-4.3.0pre2, fgets and socket_get_status

2002-11-22 Thread Stephen Grier
An application I am developing contains something like the following: $this->socket = fsockopen($server, $port, $errnum, $errstr, "60"); ... while (!feof($this->socket)) { $char = fgets($this->socket,1); if (($char == "\n") || ($char == "\r")) return $buffer; } $buffer .=

[PHP] PHP 4.3.0pre2

2002-10-27 Thread Andrei Zmievski
Hello, PHP 4.3.0pre2 is available for download from http://qa.php.net. This second pre-release incorporates a large number of bug fixes since the first one. Still, to help us catch as many bugs as possible, please download it and start testing. -Andrei http:/