3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(str_getcsv("Just\ntesting\"test1\ntest2\"test3\ntest4", "\n"));
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1
array(4) { [0]=> string(4) "Just" [1]=> string(13) "testing"test1" [2]=> string(11) "test2"test3" [3]=> string(5) "test4" }