3v4l.org

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