3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $psv = <<<Pooh ;Pooh;Separeted;Value ;For;The;World!', Pooh; var_dump(str_getcsv($psv, ';'));
based on fP93h
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
array(7) { [0]=> string(0) "" [1]=> string(4) "Pooh" [2]=> string(9) "Separeted" [3]=> string(5) "Value" [4]=> string(3) "For" [5]=> string(3) "The" [6]=> string(8) "World!'," }