classes/phing/system/io/PhingFile.php
public function length()
    {
        $fs = FileSystem::getFileSystem();
        if ($fs->checkAccess($this) !== true) {
            throw new IOException("No read access to " . $this->path . "\n");
        }

        return $fs->getLength($this);
    }
public function length()
    {
        $fs = FileSystem::getFileSystem();
        if ($fs->checkAccess($this) !== true) {
            throw new IOException("No read access to " . $this->path . "\n");
        }

        return $fs->getLength($this);
    }
public function length ( ) { $ fs = FileSystem :: getFileSystem ( ) ; if ( $ fs -> checkAccess ( $ this ) !== true ) { throw new IOException ( "No read access to " . $ this -> path . "\n" ) ; } return $ fs -> getLength ( $ this ) ; }
Returns the length of the file denoted by this abstract pathname.
The return value is unspecified if this pathname denotes a directory.

@throws IOException
@return int The length, in bytes, of the file denoted by this abstract
pathname, or 0 if the file does not exist
Returns the length of the file denoted by this abstract pathname . The return value is unspecified if this pathname denotes a directory .