企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
> * 读入数据() `string file_get_contents ( string $filename [, bool $use_include_path = false [, resource $context [, int $offset = -1 [, int $maxlen ]]]] )` > * 写出数据() `int file_put_contents ( string $filename , mixed $data [, int $flags = 0 [, resource $context ]] )` > * 文件是否存在() `bool file_exists ( string $filename )` > * 取文件名() `string basename ( string $path [, string $suffix ] )` > * 取目录() `string dirname ( string $path )` > * 取路径信息() `mixed pathinfo ( string $path [, int $options = PATHINFO_DIRNAME | PATHINFO_BASENAME | PATHINFO_EXTENSION | PATHINFO_FILENAME ] )` > * 取文件类型() `string filetype ( string $filename )` > * 取文件大小() `int filesize ( string $filename )` > * 取磁盘可用空间() `float disk_free_space ( string $directory )` > * 打开文件() `resource fopen ( string $filename , string $mode [, bool $use_include_path = false [, resource $context ]] )` > * 写出文件() `int fwrite ( resource $handle , string $string [, int $length ] )` > * 关闭文件() `bool fclose ( resource $handle )` > * 取文件列表() `array scandir ( string $directory [, int $sorting_order [, resource $context ]] )` > * 取文件访问时间() `int fileatime ( string $filename )` > * 取文件修改时间() `int filemtime ( string $filename )` > * 取文件所有者() `int fileowner ( string $filename )` > * 取文件权限() `int fileperms ( string $filename )` > * 新建目录() `bool mkdir ( string $pathname [, int $mode = 0777 [, bool $recursive = false [, resource $context ]]] )` > * 删除文件() `bool unlink ( string $filename [, resource $context ] )` > * 移动上传文件() `bool move_uploaded_file ( string $filename , string $destination )` > * 读取一行() `string readline ([ string $prompt ] )` > * 输出文件() `int readfile ( string $filename [, bool $use_include_path = false [, resource $context ]] )` > * 拷贝文件() `bool copy ( string $source , string $dest [, resource $context ] )` > * 删除目录() `bool rmdir ( string $dirname [, resource $context ] )`