3v4l.org

run code in 300+ PHP versions simultaneously
<?php $marks = [ "john" => ["physics" => 30, "maths" => 55, "chemistry" => 66], "jack" => ["physics" => 44, "maths" => 19, "chemistry" => 87], "mark" => ["physics" => 77, "maths" => 66, "chemistry" => 67], ]; foreach ($marks as $name=>$scores){ echo $name .":". $scores["chemistry"] . "la". $scores["maths"] ."\r"; }
Output for git.master, git.master_jit, rfc.property-hooks
john:66la55 jack:87la19 mark:67la66

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