dis-bench / src /php /php-src /ext /curl /tests /bug62839.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
240 Bytes
--TEST--
Bug #62839 (curl_copy_handle segfault with CURLOPT_FILE)
--EXTENSIONS--
curl
--FILE--
<?php
$curl = curl_init();
$fd = tmpfile();
curl_setopt($curl, CURLOPT_FILE, $fd);
curl_copy_handle($curl);
echo 'DONE!';
?>
--EXPECT--
DONE!