GC_Filesystem_FTPext::get_contents_array()

最后更新于:2021-11-27 18:46:52

GC_Filesystem_FTPext::get_contents_array( string$file)

Reads entire file into an array.

参数

$file

(string) (Required) Path to the file.

响应

(array|false) File contents in an array on success, false on failure.

源文件

文件: gc-admin/includes/class-gc-filesystem-ftpext.php

	public function get_contents_array( $file ) {
		return explode( "n", $this->get_contents( $file ) );
	}