略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: phdfs

2024-11-15

The phdfs class

(phdfs >= 0.1.0)

简介

类摘要

phdfs {
/* 属性 */
static $host ;
static $port ;
/* 方法 */
public connect ( void ) : bool
public __construct ( string $ip , string $port )
public copy ( string $source_file , string $destination_file ) : bool
public create_directory ( string $path ) : bool
public delete ( string $path ) : bool
public __destruct ( void ) : void
public disconnect ( void ) : bool
public exists ( string $path ) : bool
public file_info ( string $path ) : array
public list_directory ( string $path [, int $level = 0 ] ) : array
public read ( string $path [, int $length = 0 ] ) : string
public rename ( string $old_path , string $new_path ) : bool
public tell ( string $path [, int $read_length = 1024 ] ) : int
public write ( string $path , string $buffer [, int $mode = 0 ] ) : bool
}

属性

host

port

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.phdfs.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3