3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array( array ( "name"=> 'Bill', "id"=> "2" ), array ( "name"=> 'Alice', "id"=> "1" ), ); $arr2 = array( array ( "name"=> 'Caroline', "id"=> "3" ), ); $arr1[] = $arr2; var_dump($arr1);
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> array(2) { ["name"]=> string(4) "Bill" ["id"]=> string(1) "2" } [1]=> array(2) { ["name"]=> string(5) "Alice" ["id"]=> string(1) "1" } [2]=> array(1) { [0]=> array(2) { ["name"]=> string(8) "Caroline" ["id"]=> string(1) "3" } } }

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:
58.38 ms | 402 KiB | 8 Q