3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $_GET["foo"] = 'include( "evil_file.php" )'; assert( '$_GET["foo"] == "fluffy bunny rabbit"' );
Output for 4.3.2 - 7.1.0
Warning: assert(): Assertion "$_GET["foo"] == "fluffy bunny rabbit"" failed in /in/Hu8lo on line 6
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion "$_GET["foo"] == "fluffy bunny rabbit"" failed in /in/Hu8lo on line 6