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