3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $mail_message = "The IP: " . $_SERVER['REMOTE_ADDR'] . " tried to upload $QUERYSTRING at " . time(); echo $mail_message;
based on jfZlP
Output for 5.3.0 - 7.1.0
Notice: Undefined index: REMOTE_ADDR in /in/sJq5E on line 3 Notice: Undefined variable: QUERYSTRING in /in/sJq5E on line 3 The IP: tried to upload at 1412598146
Output for 5.0.4 - 5.2.17
Notice: Undefined index: REMOTE_ADDR in /in/sJq5E on line 3 Notice: Undefined variable: QUERYSTRING in /in/sJq5E on line 3 The IP: tried to upload at 1412598146
Output for 4.3.0 - 5.0.3
Notice: Undefined index: REMOTE_ADDR in /in/sJq5E on line 3 Notice: Undefined variable: QUERYSTRING in /in/sJq5E on line 3 The IP: tried to upload at 1412598146