--TEST-- Bug # #68937 (Segfault in curl_multi_exec) --SKIPIF-- --FILE-- false, CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_INFILESIZE => 1, CURLOPT_HTTPHEADER => array( 'Expect:', 'Content-Length: 1', ), CURLOPT_READFUNCTION => 'curl_read', CURLOPT_CONNECTTIMEOUT=> 1, CURLOPT_TIMEOUT=>1 )); function curl_read($ch, $fp, $len) { var_dump($fp); exit; } curl_exec($ch); curl_close($ch); ?> --EXPECTF-- NULL