3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST["kfc"] = true ; $_GET["man"] = "aaaa;"; $b = array("K","F","C"); $B = $_POST["kfc"]; if($B == $b && $B !== $b){ var_dump(preg_replace('/;+/','vivo50',preg_replace('/[A-Za-z_\(\)]+/','',$_GET["man"]))); if('vivo50' === preg_replace('/;+/','vivo50',preg_replace('/[A-Za-z_\(\)]+/','',$_GET["man"]))){ eval($_GET["man"].'giveme50!'); } else{ echo "joker"; } } else{ echo "nonono!"; }
Output for git.master_jit, git.master
string(6) "vivo50" Parse error: syntax error, unexpected token "!" in /in/q16oT(10) : eval()'d code on line 1
Process exited with code 255.

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:
34.61 ms | 405 KiB | 5 Q