3v4l.org

run code in 300+ PHP versions simultaneously
<?php $occupied_ids = [ [8457, 6584], [9874, 4586], ]; var_export( array_map( fn($v) => [ 'occupied_id' => $v, 'feed' => $_GET['feed'] ?? 2, 'status' => 1, 'status_date' => date('Y-m-d'), ], array_merge(...$occupied_ids) ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 'occupied_id' => 8457, 'feed' => 2, 'status' => 1, 'status_date' => '2022-09-13', ), 1 => array ( 'occupied_id' => 6584, 'feed' => 2, 'status' => 1, 'status_date' => '2022-09-13', ), 2 => array ( 'occupied_id' => 9874, 'feed' => 2, 'status' => 1, 'status_date' => '2022-09-13', ), 3 => array ( 'occupied_id' => 4586, 'feed' => 2, 'status' => 1, 'status_date' => '2022-09-13', ), )

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