1--TEST-- 2SplFileObject::fgetcsv with alternative delimiter 3--FILE-- 4<?php 5$fp = fopen('SplFileObject__fgetcsv8.csv', 'w+'); 6fwrite($fp, '"aaa","b""bb","ccc"'); 7fclose($fp); 8 9$fo = new SplFileObject('SplFileObject__fgetcsv8.csv'); 10var_dump($fo->fgetcsv(',', '"', 'invalid')); 11?> 12--CLEAN-- 13<?php 14unlink('SplFileObject__fgetcsv8.csv'); 15?> 16--EXPECTF-- 17Warning: SplFileObject::fgetcsv(): escape must be empty or a single character in %s on line %d 18bool(false) 19