3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $csv = tmpfile(); fputcsv($csv, ['foo', 'bar', 'baz'], '💩'); rewind($csv); echo stream_get_contents($csv); fclose($csv);
Output for 5.6.0 - 7.2.0
Notice: fputcsv(): delimiter must be a single character in /in/ons2t on line 4 foo�bar�baz