/** * Return the length in bytes of the file denoted by the given abstract * pathname, or zero if it does not exist, is a directory, or some other * I/O error occurs. * @param File $f * @return int */ public function getLength(File $f) { return $f->getSize(); }