3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?PHP $url = 'http://www.google.com/recaptcha/api/verify'; $data['privatekey'] = "6Lfzs_ESAAAAANS4DbMX4f5yLILbOxInzzZil2FE"; $data['remoteip'] = $_SERVER['REMOTE_ADDR']; $data['challenge'] = $_POST['challenge']; $data['response'] = $_POST['response']; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data), ), );
Output for 5.3.0 - 7.1.0
Notice: Undefined index: REMOTE_ADDR in /in/JBWfv on line 4 Notice: Undefined index: challenge in /in/JBWfv on line 5 Notice: Undefined index: response in /in/JBWfv on line 6
Output for 5.0.0 - 5.2.17
Notice: Undefined index: REMOTE_ADDR in /in/JBWfv on line 4 Notice: Undefined index: challenge in /in/JBWfv on line 5 Notice: Undefined index: response in /in/JBWfv on line 6
Output for 4.4.5 - 4.4.9
Notice: Undefined index: REMOTE_ADDR in /in/JBWfv on line 4 Notice: Undefined index: challenge in /in/JBWfv on line 5 Notice: Undefined index: response in /in/JBWfv on line 6 Fatal error: Call to undefined function: http_build_query() in /in/JBWfv on line 12
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Notice: Undefined index: REMOTE_ADDR in /in/JBWfv on line 4 Notice: Undefined index: challenge in /in/JBWfv on line 5 Notice: Undefined index: response in /in/JBWfv on line 6 Fatal error: Call to undefined function: http_build_query() in /in/JBWfv on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined index: REMOTE_ADDR in /in/JBWfv on line 4 Notice: Undefined index: challenge in /in/JBWfv on line 5 Notice: Undefined index: response in /in/JBWfv on line 6 Fatal error: Call to undefined function: http_build_query() in /in/JBWfv on line 12