3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $process = curl_init($host); curl_setopt($process, CURLOPT_HTTPHEADER, array('Content-Type: application/xml', $additionalHeaders)); curl_setopt($process, CURLOPT_HEADER, 1); curl_setopt($process, CURLOPT_USERPWD, $username . ":" . $password); curl_setopt($process, CURLOPT_TIMEOUT, 30); curl_setopt($process, CURLOPT_POST, 1); curl_setopt($process, CURLOPT_POSTFIELDS, $payloadName); curl_setopt($process, CURLOPT_RETURNTRANSFER, TRUE); $return = curl_exec($process); print return; ?>
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected 'return' (T_RETURN) in /in/opRnC on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected T_RETURN in /in/opRnC on line 12
Process exited with code 255.