3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(file_get_contents('http://clck.ru/8wjzt')); $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, "http://clck.ru/8wjzt"); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up system resources curl_close($ch); var_dump($output);"; ?>
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /in/peMcL on line 19
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /in/peMcL on line 19
Process exited with code 255.

preferences:
179.76 ms | 940 KiB | 61 Q