PHP file Function : file_exists | fopen

PHP file function. Using file(), a file is read into an array. A line from the file, complete with the newline character, is contained in each element of the array.