3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "THE URL TO THE SERVICE"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, POST DATA); $result = curl_exec($ch); print_r($result); curl_close($ch);
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'DATA' (T_STRING) in /in/XiEi1 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/XiEi1 on line 5
Process exited with code 255.