3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lines = <<<EOF fund,name,investment,region,sector,status,description,acquisition_date,size,address_line_1,address_line_2,city,county,postcode,longitude,latitude,featured,external_link "Fund 1","Property Name","Investment Name","London","Office","Published","","","","","","London","","","","","","" EOF; $array = array_map('str_getcsv', explode(PHP_EOL, $lines)); array_walk($array, function(&$a) use ($array) { $a = array_combine($array[0], $a); }); array_shift($array); foreach ($array as $element) { echo $element['fund'], "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
Fund 1

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:
29.9 ms | 405 KiB | 5 Q