3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( array('product' => 'test1', 'sku' => 't1'), array('product' => 'test2', 'sku' => 't2'), ); var_dump($test + array());
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(2) { ["product"]=> string(5) "test1" ["sku"]=> string(2) "t1" } [1]=> array(2) { ["product"]=> string(5) "test2" ["sku"]=> string(2) "t2" } }

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.72 ms | 401 KiB | 8 Q