3v4l.org

run code in 200+ 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 7.2.0 - 7.3.0rc4
Deprecated: assert(): Calling assert() with a string argument is deprecated in /in/Hu8lo on line 6 Warning: assert(): Assertion "$_GET["foo"] == "fluffy bunny rabbit"" failed in /in/Hu8lo on line 6
Output for 4.3.2 - 7.1.20
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