3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "Apr 21 08:45 AM,RediMed Northeast,15,2015-04-21 08:00:00.000,2015-04-21 08:04:00.000,2015-04-21 08:17:00.000,2015-04-21 08:17:00.000,90 minutes Apr 21 08:45 AM,RediMed North,14,2015-04-21 08:00:00.000,2015-04-21 08:22:00.000,2015-04-21 08:27:00.000,2015-04-21 00:00:00.000,90 minutes Apr 21 09:00 AM,RediMed Northeast,15,2015-04-21 08:00:00.000,2015-04-21 08:04:00.000,2015-04-21 08:17:00.000,2015-04-21 08:17:00.000,90 minutes Apr 21 09:00 AM,RediMed North,14,2015-04-21 08:00:00.000,2015-04-21 08:13:00.000,2015-04-21 08:17:00.000,2015-04-21 08:25:00.000,90 minutes"; $data = explode("\n", $data); $csv = array_map('str_getcsv', $data); var_dump($csv); ?>
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { [0]=> array(8) { [0]=> string(15) "Apr 21 08:45 AM" [1]=> string(17) "RediMed Northeast" [2]=> string(2) "15" [3]=> string(23) "2015-04-21 08:00:00.000" [4]=> string(23) "2015-04-21 08:04:00.000" [5]=> string(23) "2015-04-21 08:17:00.000" [6]=> string(23) "2015-04-21 08:17:00.000" [7]=> string(10) "90 minutes" } [1]=> array(8) { [0]=> string(15) "Apr 21 08:45 AM" [1]=> string(13) "RediMed North" [2]=> string(2) "14" [3]=> string(23) "2015-04-21 08:00:00.000" [4]=> string(23) "2015-04-21 08:22:00.000" [5]=> string(23) "2015-04-21 08:27:00.000" [6]=> string(23) "2015-04-21 00:00:00.000" [7]=> string(10) "90 minutes" } [2]=> array(8) { [0]=> string(15) "Apr 21 09:00 AM" [1]=> string(17) "RediMed Northeast" [2]=> string(2) "15" [3]=> string(23) "2015-04-21 08:00:00.000" [4]=> string(23) "2015-04-21 08:04:00.000" [5]=> string(23) "2015-04-21 08:17:00.000" [6]=> string(23) "2015-04-21 08:17:00.000" [7]=> string(10) "90 minutes" } [3]=> array(8) { [0]=> string(15) "Apr 21 09:00 AM" [1]=> string(13) "RediMed North" [2]=> string(2) "14" [3]=> string(23) "2015-04-21 08:00:00.000" [4]=> string(23) "2015-04-21 08:13:00.000" [5]=> string(23) "2015-04-21 08:17:00.000" [6]=> string(23) "2015-04-21 08:25:00.000" [7]=> string(10) "90 minutes" } }

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:
73.5 ms | 405 KiB | 8 Q