3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var="20070601"; if (intval ($var)) echo "it 's safe"; echo $var="". $var; echo ""; $var1="1 union select 1,1,1 from admin"; if (intval ($var1)) echo "it 's safe"; echo '$var1='. $var1; ? >
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '?' in /in/JEnjB on line 11
Process exited with code 255.