Bug #3882: fsockopen() returns wrong case

From: Date: Mon, 20 Mar 2000 16:28:37 +0000
Subject: Bug #3882: fsockopen() returns wrong case
Groups: php.dev 
Request: Send a blank email to php-dev+get-17093@lists.php.net to get a copy of this message
From: flec@flec.co.uk Operating system: FreeBSD (3.0 & 3.2)-RELEASE PHP version: 3.0.15 PHP Bug Type: Misbehaving function Bug description: fsockopen() returns wrong case The php version here is wrong, I am running php4.0b3 and 4.0b4pl1 but don't have the option to select either. Ever since b4pl1, fsockopen() seems to be returning its data in lowercase. This is proven by running the same code on a b3 and b4 server, detailing the output from the socket, using fgets(). A 'normal' fopen on a file returns the correct output on both versions, but with fsockopen() the output varies only in upper/lower case. Is this a bug or is it meant to be, for whatever reason?

« previous php.dev (#17093) next »