3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php #$srch = "{${eval("echo phpinfo();//apple1(?=/)\e")}}"; $srch = "{${eval("phpinfo(); //apple(?=/)\e")}}"; echo "\n\n\n\n\n"; echo $srch; echo "\n"; #$search = htmlentities($srch); #echo $search; echo "\n"; #if (strpos($search, 'apple') !== false){ # echo "in the if!"; echo "\n"; # echo preg_replace("/".$search."/", $search." <img src='".$search.".png'>", "apple"); #}
Output for 5.3.0 - 7.1.0
Warning: phpinfo() has been disabled for security reasons in /in/f55i3(3) : eval()'d code on line 1 Notice: Undefined variable: in /in/f55i3 on line 3