3v4l.org

run code in 300+ PHP versions simultaneously
<?php $handle = curl_init(); // set url curl_setopt($handle, CURLOPT_URL, "dd32.id.au"); //return the transfer as a string curl_setopt($handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt( $handle, CURLOPT_PROXYTYPE, CURLPROXY_HTTP ); curl_setopt( $handle, CURLOPT_PROXY, '103.25.58.244' ); curl_setopt( $handle, CURLOPT_PROXYPORT, '80' ); // $output contains the output string $output = curl_exec($handle); var_dump( $output ); var_dump( curl_error($handle), $handle );

preferences:
47.43 ms | 402 KiB | 5 Q