3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input_array = array("success"=>true ,'ab' => 2,'def' => 1); for ($i = 0; $i <= 6;$i++) { $data = [ 'lg_' . $i => 'LG: T-' . $i ]; $input_array = array_merge($input_array, $data); } print_r($input_array); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [success] => 1 [ab] => 2 [def] => 1 [lg_0] => LG: T-0 [lg_1] => LG: T-1 [lg_2] => LG: T-2 [lg_3] => LG: T-3 [lg_4] => LG: T-4 [lg_5] => LG: T-5 [lg_6] => LG: T-6 )

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:
170.95 ms | 406 KiB | 5 Q