function is_file($path)
    {
        $result = $this->_get_stat_cache_prop($path, 'type');
        if ($result === false) {
            return false;
        }
        return $result === NET_SFTP_TYPE_REGULAR;
    }
function is_file($path)
    {
        $result = $this->_get_stat_cache_prop($path, 'type');
        if ($result === false) {
            return false;
        }
        return $result === NET_SFTP_TYPE_REGULAR;
    }
function is_file ( $ path ) { $ result = $ this -> _get_stat_cache_prop ( $ path , 'type' ) ; if ( $ result === false ) { return false ; } return $ result === NET_SFTP_TYPE_REGULAR ; }
Tells whether the filename is a regular file

@param string $path
@return bool
@access public
Tells whether the filename is a regular file