xref: /PHP-8.2/ext/standard/tests/file/bug26003.phpt (revision ea256a21)
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--EXPECTF--
9array(2) {
10  [0]=>
11  string(3) "abc"
12  [1]=>
13  string(3) "d%0e"
14}
15