ID: 49519 Updated by: [email protected] Reported By: sjoerd-php at linuxonly dot nl -Status: Feedback +Status: Bogus Bug Type: cURL related Operating System: * PHP Version: 5.3.0 New Comment:
Could not reproduce with latest 5.3 branch. Previous Comments: ------------------------------------------------------------------------ [2009-09-10 13:04:46] [email protected] Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Works fine for me.. ------------------------------------------------------------------------ [2009-09-10 10:16:58] sjoerd-php at linuxonly dot nl Description: ------------ Passing a resource created by tmpfile() gives a warning that the resource is not writable. Reproduce code: --------------- <?php $curl = curl_init(); curl_setopt($curl, CURLOPT_FILE, tmpfile()); ?> Expected result: ---------------- No warning. Actual result: -------------- Warning: curl_setopt(): the provided file handle is not writable in /Volumes/sjoerd-nfs/public_html/svnreps/test/a.php on line 4 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49519&edit=1
