3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var="20070601"; if (intval($var)) echo "it's safe"; echo '$var='.$var; echo "<br>"; $var1="1 union select 1,1,1 from admin"; if (intval($var1)) echo "it's safe too"; echo '$var1='.$var1;
based on 0rnLI
Output for 4.3.0 - 7.2.0
it's safe$var=20070601<br>it's safe too$var1=1 union select 1,1,1 from admin