arrayFile
The arrayFile function is used for converting a file to an array.
array
arrayFile
(string $file, [string $char = 'null'], [bool $index = 'null'])
-
string
$file: File to read into an array
-
string
$char: Trim Character - if a character is given, then it will be used as the character in trim() for each line of the file.
-
bool
$index: if set to TRUE, then a NUMERIC indexed array is returned, otherwise each line is also used as the index.
|