1--TEST--
2SplFileObject::fgetcsv with alternative delimiter
3--FILE--
4<?php
5$fp = fopen('SplFileObject__fgetcsv6.csv', 'w+');
6fwrite($fp, '"aaa","b""bb","ccc"');
7fclose($fp);
8
9$fo = new SplFileObject('SplFileObject__fgetcsv6.csv');
10var_dump($fo->fgetcsv(',', '"', '"'));
11?>
12--CLEAN--
13<?php
14unlink('SplFileObject__fgetcsv6.csv');
15?>
16--EXPECT--
17array(3) {
18  [0]=>
19  string(3) "aaa"
20  [1]=>
21  string(4) "b"bb"
22  [2]=>
23  string(3) "ccc"
24}
25