You are here

function hackedFileIgnoreEndingsHasher::fetch_lines in Hacked! 7.2

Compute and return the lines of the given file.

Parameters

$filename: A fully-qualified filename to return.

Return value

array|bool The lines of the given filename or FALSE on failure.

Overrides hackedFileHasher::fetch_lines

File

includes/hackedFileIgnoreEndingsHasher.inc, line 24

Class

hackedFileIgnoreEndingsHasher
Created by PhpStorm. User: steven Date: 18/02/15 Time: 19:13

Code

function fetch_lines($filename) {
  return file($filename, FILE_IGNORE_NEW_LINES);
}