--TEST-- SplFileObject::fgetcsv with alternative delimiter --FILE-- fgetcsv(',', 'invalid')); } catch (ValueError $e) { echo $e->getMessage(), "\n"; } ?> --CLEAN-- --EXPECT-- SplFileObject::fgetcsv(): Argument #2 ($enclosure) must be a single character