3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); # /\ # > _< # //``. # .' '@. \ $___;/*)'. .-' /*-'-;#\ * /*.'*/($____=[]); # // @ o . /* ) $____="$____";/*'` * .' Q */$__=$___;$__++;/* *.' o . * '-. / @ */$__++;$_=$__;$_--;# `\ //( () * Q'.__Q *.' * * # '-.-' `--._ @ ``-. $_____=[$___,$___,$___,$___, /*_.-' @ __.-'~'-. @ `-.*/ $___,' ',$___,$___,$___,$___, $___,$___,$___,$___,$___,',',' ',/* .' * ..-' o 0 */ # $___,$___,$___,$___,$___,$___,'!']; $_____[($__+$_)*($__+$__)+$_]=$____[$_+$__]; $___=$____[$_+$__];$___++;$___++;/* '.*/ $_____[($__+$__+$__)*($__+$_)+$_]=++$___;/* ;--' Q */ $_____[$_]=++$___;$___++;$___++; /* 0.-~-*/$_____[$__+$__+$__+$_]=++$___;/*8*/ # $_____[($__+$_)*($__+$_)]=++$___;$___++; # # ;--' Q * * o @ '-. /*'.___ ..~ - .*/$___++;$___++;/* () Q '.*/ // @ o * */ #_.''~.._____.--'`-. /*'-*/$_____[($__+$__)*($__+$_)]=++$___;$___++;$___++; /*.':. /# |\ \\ |*/$___++;$___++;$_____[$__]=++$___; /*. ':. /. .\ */ $_____[$__+$_]=$___;$_____[$__*$__*$__]=$___; /* ':. ':.\_T_/: */ $_____[($__+$__+$_)*$__]=++$___; /*. ':. /` `\ */ $_____[($__+$__)*($__+$_)+$__]=$___; /* :. ':(/ \)*/ $_____[($__+$_)*($__+$_)+$__]=++$___; /* '::.__'/';-;'\ */ $___++;$___++;$___++;$___++;$_____[$__+$__]=++$___; /* ()/ \()*/ $_____[($__+$__)*($__+$__)+$__]=$___;$_--; /* __.----.(\-''#####---...___...-----._*/ $___=$____[$_]; /* '` \)_`"""""`*/ $___++;$_____[$__+$__+$__]=++$___; /* .--' ') */ $___++;$___++;$___++;$___++;$_++; /* o( )_-\ */ $_____[($__+$__+$_)*($__+$__)+$_]=++$___; /* `"""` ` */ $___++;$___++;$___++;$___++;$_--; /* */ $_____[$_]=++$___;$___++;$___++;$_++; /* Christmas greetings! */ $_____[($__+$__+$_)*($__+$__)]=++$___; /* */ $_____[($__+$__+$_)*($__+$__)+$__]=$___; /* @ This code is actually @ */ $___++;$___++; /* @ valid PHP code. @ */ $_____[($__+$__)*($__+$__)+$_]=++$___; /* @ Requires PHP5.4 @ */ echo implode($_____); // This software is licensed under the New BSD License. // Copyright (c) 2012, Romanko. All rights reserved.
Output for 5.4.0 - 7.1.0
Merry Christmas, SydPHP!
Output for 5.2.3 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/khhKO on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.2
<br /> <b>Parse error</b>: syntax error, unexpected '[' in <b>/in/khhKO</b> on line <b>9</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
<br /> <b>Parse error</b>: parse error, unexpected '[' in <b>/in/khhKO</b> on line <b>9</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br /> <b>Parse error</b>: parse error in <b>/in/khhKO</b> on line <b>9</b><br />
Process exited with code 255.