From: waax at yahoo dot com Operating system: Windows XP SP2 PHP version: 5CVS-2006-09-02 (CVS) PHP Bug Type: cURL related Bug description: curl_multi_add_handle set curl handle to null
Description: ------------ The scripts create a curl multi handle and then add a curl handle. I expected to be able to use the curl handle after adding it to the multi handle. Instead, the curl handle becomes NULL. I think it's related to the bug #38637 (http://bugs.php.net/bug.php?id=38637&edit=2) because it stopped working after i took the latest cvs. PHP Version => 5.2.0RC4-dev CURL Information => libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3 Reproduce code: --------------- <?php $mh = curl_multi_init(); $ch = curl_init("http://yahoo.com"); curl_multi_add_handle($mh, $ch); var_dump($ch); ?> Expected result: ---------------- resource(5) of type (curl) Actual result: -------------- NULL -- Edit bug report at http://bugs.php.net/?id=38693&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38693&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38693&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38693&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38693&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38693&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38693&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38693&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38693&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38693&r=support Expected behavior: http://bugs.php.net/fix.php?id=38693&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38693&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38693&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38693&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38693&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38693&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38693&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38693&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38693&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38693&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38693&r=mysqlcfg