Return to bug26003.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / file |
1.1 ! misho 1: --TEST-- ! 2: Bug #26003 (fgetcsv() is not binary-safe) ! 3: --FILE-- ! 4: <?php ! 5: $fp = fopen(dirname(__FILE__).'/test3.csv', 'r'); ! 6: var_dump(fgetcsv($fp, 4096)); ! 7: ?> ! 8: --EXPECT-- ! 9: array(2) { ! 10: [0]=> ! 11: string(3) "abc" ! 12: [1]=> ! 13: string(3) "d e" ! 14: }