3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '<a href="mycgi?foo=', urlencode($userinput), '">'; ?>
Output for 5.0.4 - 7.1.0
<a href="mycgi?foo= Notice: Undefined variable: userinput in /in/S93BS on line 3 ">
Output for 4.3.0 - 5.0.3
<a href="mycgi?foo= Notice: Undefined variable: userinput in /in/S93BS on line 3 ">