xref: /PHP-5.3/ext/standard/tests/file/bug26003.phpt (revision 28369f6e)
1--TEST--
2Bug #26003 (fgetcsv() is not binary-safe)
3--FILE--
4<?php
5$fp = fopen(dirname(__FILE__).'/test3.csv', 'r');
6var_dump(fgetcsv($fp, 4096));
7?>
8--EXPECT--
9array(2) {
10  [0]=>
11  string(3) "abc"
12  [1]=>
13  string(3) "d�e"
14}
15