3v4l.org

run code in 500+ PHP versions simultaneously
<?php $developers = [ 'Ammar', 'Waqar', 'Sheraz', 'Suleman', ]; #Creating Project Array. $projects = [ 'Sail Caribe', 'Hacker Craft', 'Jackson Demolition', 'Carribean Yacht Charter', ]; $result = []; foreach ($developers as $index => $developer) { $result[] = [ 'name' => $developer, 'project name' => $projects[$index], ]; } var_dump($result);
Output for rfc.property-hooks, git.master, git.master_jit
array(4) { [0]=> array(2) { ["name"]=> string(5) "Ammar" ["project name"]=> string(11) "Sail Caribe" } [1]=> array(2) { ["name"]=> string(5) "Waqar" ["project name"]=> string(12) "Hacker Craft" } [2]=> array(2) { ["name"]=> string(6) "Sheraz" ["project name"]=> string(18) "Jackson Demolition" } [3]=> array(2) { ["name"]=> string(7) "Suleman" ["project name"]=> string(23) "Carribean Yacht Charter" } }

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:
47.51 ms | 1519 KiB | 4 Q