3v4l.org

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