Re: PHP 5.0.0 Test roll

From: Date: Tue, 13 Jul 2004 05:33:06 +0000
Subject: Re: PHP 5.0.0 Test roll
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-11148@lists.php.net to get a copy of this message
The file_get_contents() bug still seems to be present in the test roll, but not in the latest snap: Reproduce code (from the bug report for 29099): -------------- #!/usr/bin/php <?php $ch = curl_init("http://www.php.net/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $str1 = curl_exec($ch); curl_close($ch); $str2 = file_get_contents("http://www.php.net/"); echo $str2; // Note garbage at end of string if ($str1 != $str2) { echo "Both results differ.\n"; } else { echo "Both results are the same.\n"; } The latest snap (200407130430) seems to be just fine though. Benj Carson

« previous php.internals (#11148) next »