3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array['messi']['google'] = 2; $array['messi']['yahoo'] = 2; $array['ronaldo']['google'] = 1; $array['ronaldo']['yahoo'] = 1; foreach($array as $person => $searchEngineCounts) { echo $person."\n"; foreach($searchEngineCounts as $engine => $count) { echo $engine . ": " . $count . "\n"; } echo "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
messi google: 2 yahoo: 2 ronaldo google: 1 yahoo: 1

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