protected function getCsvRow($fh) { if (version_compare(PHP_VERSION, '5.3.0', '>')) { return fgetcsv($fh, NULL, $this->delimiter, $this->enclosure, $this->escape); } else { return fgetcsv($fh, NULL, $this->delimiter, $this->enclosure); } }