GC_Filesystem_Direct::get_contents_array()

最后更新于:2021-11-27 18:09:24

GC_Filesystem_Direct::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-direct.php

	public function get_contents_array( $file ) {
		return @file( $file );
	}