3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10,20),array("benz",30,10,0),array("gator",20,40,9),array("ferrari",15,60,18)); for ($row = 0; $row < 4; $row++) { for ($col = 0; $col < 4; $col++) { echo $cars[$row][$col]; } } echo "\n"; $myfile = fopen("webdictionary.txt", "r") or die("Unable to open file!"); echo fread($myfile,filesize("webdictionary.txt")); fclose($myfile);
Output for git.master, git.master_jit, rfc.property-hooks
bmw201020benz30100gator20409ferrari156018 Warning: fopen(): open_basedir restriction in effect. File(webdictionary.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/uFdCT on line 12 Warning: fopen(webdictionary.txt): Failed to open stream: Operation not permitted in /in/uFdCT on line 12 Unable to open file!

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:
52.47 ms | 401 KiB | 8 Q