3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fruits = array( array( 'name' => 'Banana', 'continent' => 'Africa', 'counts' => array( 'standard' => 15, 'advanced' => 20 ) ), array( 'name' => 'Apple', 'continent' => 'Europa', 'counts' => array( 'standard' => 25, 'advanced' => 25 ) ) ); //In Europa, I can find 25 standard Apple. $key = array_keys($fruits[1]['counts'])[0]; echo "In {$fruits[1]['continent']}, I can find {$fruits[1]['counts']['standard']} {$key} {$fruits[1]['name']}"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
In Europa, I can find 25 standard Apple

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:
119.61 ms | 405 KiB | 5 Q