3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'blah"'; fputcsv(STDOUT, [$str,$str]); $csv = '"blah""","blah"""'; var_dump(str_getcsv($csv));
based on QSHfX
Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.33, 7.3.0 - 7.3.26, 7.4.0 - 7.4.16, 8.0.0 - 8.0.3
"blah""","blah""" array(2) { [0]=> string(5) "blah"" [1]=> string(5) "blah"" }