3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array(array("bmw",20,10),array("benz",30,10),array("gator",20,40),array("ferrari",15,60)); echo $cars[0][0]."in stock".$cars[0][1]."sold".$cars[0][2]; echo $cars[1][0]."in stock".$cars[1][1]."sold".$cars[1][2]; echo $cars[3][0]."in stock".$cars[0][1]."sold".$cars[3][3];
Output for git.master, git.master_jit, rfc.property-hooks
bmwin stock20sold10benzin stock30sold10 Warning: Undefined array key 3 in /in/jMY5X on line 7 ferrariin stock20sold

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