3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array( 'key1a'=>'value', 'key2a'=>'value', 'key3a'=>'value' ); $arr2 = array( 'key7b'=>'value', 'key8b'=>'value', 'key9b'=>'value' ); foreach($arr1 as $i => $val) { foreach($arr2 as $j => $val2) { echo $i,$j; } }
Output for git.master, git.master_jit, rfc.property-hooks
key1akey7bkey1akey8bkey1akey9bkey2akey7bkey2akey8bkey2akey9bkey3akey7bkey3akey8bkey3akey9b

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