GC_Filesystem_ftpsockets::get_contents_array()

最后更新于:2021-11-27 19:15:06

GC_Filesystem_ftpsockets::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-ftpsockets.php

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