1--TEST-- 2Bug #26003 (fgetcsv() is not binary-safe) 3--FILE-- 4<?php 5$fp = fopen(__DIR__.'/test3.csv', 'r'); 6var_dump(fgetcsv($fp, 4096)); 7?> 8--EXPECT-- 9array(2) { 10 [0]=> 11 string(3) "abc" 12 [1]=> 13 string(3) "de" 14} 15