Bug #70065 [NEW]: curl_getinfo() returns corrupted values

From: Date: Mon, 13 Jul 2015 18:14:02 +0000
Subject: Bug #70065 [NEW]: curl_getinfo() returns corrupted values
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194407@lists.php.net to get a copy of this message
From: segfall at gmail dot com Operating system: Windows 8.1 Pro x64 PHP version: 7.0.0beta1 Package: cURL related Bug Type: Bug Bug description:curl_getinfo() returns corrupted values Description: ------------ Default PHP package for Windows: VC14 x64 Thread Safe (2015-Jul-10 21:13:03) PHP 7.0.0beta1 (cli) (built: Jul 10 2015 10:58:11) Test script: --------------- $curl = curl_init('http://whatismyip.akamai.com/'); curl_exec($curl); Expected result: ---------------- [...] (Irrelevant parts omitted) [http_code] => 200 [header_size] => 229 [request_size] => 60 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [primary_port] => 80 [local_port] => 37146 [...] Actual result: -------------- [...] [http_code] => 785979015368 [header_size] => 785979015397 [request_size] => 785979015228 [filetime] => 790273982463 [ssl_verify_result] => 785979015168 [redirect_count] => 785979015168 [primary_port] => 785979015248 [local_port] => 785979067059 [...] -- Edit bug report at https://bugs.php.net/bug.php?id=70065&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70065&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70065&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70065&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70065&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70065&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70065&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70065&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70065&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70065&r=support Expected behavior: https://bugs.php.net/fix.php?id=70065&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70065&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70065&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70065&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70065&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70065&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70065&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70065&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70065&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70065&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70065&r=mysqlcfg

« previous php.bugs (#194407) next »