I have this code
<?php function get(){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://stackoverflow.com/"); curl_setopt($ch, CURLOPT_HEADER, 0); $c = curl_exec($ch); curl_close($ch); die("A"); return $c; } $first = get(); ?> but look what's output! It just prints off everything returned from curl_exec();
how is that possible?