3v4l.org

run code in 300+ PHP versions simultaneously
<?php $line = '"2012-08-01 00:00:00","41121","26295532","pneuman.sklik@seznam.cz","clie13546","15789276","""Pneu servis Internacional, spol. s r. o.""","None","None","False","corporate","deposit","","wbox_deductible","channel_transfer","15000.00","newbusinessreport","13546","15789276","\\Pneu servis Internacional, spol. s r. o.\"""""","Český Krumlov","Jihočeský kraj","Hanzal Petr","Sauto","Obchod","Sauto","Hanzal Petr","Sauto","Obchod","Sauto","Hanzal Petr","Sauto","Obchod","Sauto","Štětková Naděžda","JV Čechy 4","Obchodní síť","JVC"'; $line = explode('","', $line); $line[0] = substr(trim($line[0], "\t\n\r"), 1); $lastItemIndex = count($line) - 1; $lastItem = rtrim($line[$lastItemIndex], "\t\n\r"); $line[$lastItemIndex] = substr($lastItem, 0, strlen($lastItem)-1); foreach ($line as &$l) { $l = str_replace('\"', '"', $l); $l = stripcslashes($l); } print_r($line);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 2012-08-01 00:00:00 [1] => 41121 [2] => 26295532 [3] => pneuman.sklik@seznam.cz [4] => clie13546 [5] => 15789276 [6] => ""Pneu servis Internacional, spol. s r. o."" [7] => None [8] => None [9] => False [10] => corporate [11] => deposit [12] => [13] => wbox_deductible [14] => channel_transfer [15] => 15000.00 [16] => newbusinessreport [17] => 13546 [18] => 15789276 [19] => Pneu servis Internacional, spol. s r. o.""""" [20] => Český Krumlov [21] => Jihočeský kraj [22] => Hanzal Petr [23] => Sauto [24] => Obchod [25] => Sauto [26] => Hanzal Petr [27] => Sauto [28] => Obchod [29] => Sauto [30] => Hanzal Petr [31] => Sauto [32] => Obchod [33] => Sauto [34] => Štětková Naděžda [35] => JV Čechy 4 [36] => Obchodní síť [37] => JVC )

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:
36.31 ms | 403 KiB | 8 Q