3v4l.org

run code in 300+ PHP versions simultaneously
<?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;
Output for git.master, git.master_jit, rfc.property-hooks
it's safe$var=20070601<br>it's safe too$var1=1 union select 1,1,1 from admin

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.12 ms | 401 KiB | 8 Q