3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fp = tmpfile(); fwrite($fp, "\0"); rewind($fp); var_dump(fgetcsv($fp));
Output for 5.0.0 - 7.1.0
array(1) { [0]=> string(1) "" }
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for fgetcsv() in /in/QMaJd on line 5 NULL