3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $line = '"","$ 507.74","$ 0.00","$ 2,954.16","Kč 9,647.00","","TDR 697","","Kč 23,737.00","","","","","Kč 457.00","","","","","Kč 29,959.00","","","","","$ 104.00","",""'; $line = trim($line, "\"\t\n\r"); $line = explode('","', $line); print_r($line);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => ,"$ 507.74 [1] => $ 0.00 [2] => $ 2,954.16 [3] => Kč 9,647.00 [4] => [5] => TDR 697 [6] => [7] => Kč 23,737.00 [8] => [9] => [10] => [11] => [12] => Kč 457.00 [13] => [14] => [15] => [16] => [17] => Kč 29,959.00 [18] => [19] => [20] => [21] => [22] => $ 104.00 [23] => ", )