classes/scanner.php
public function scanNextFile() {
		$_file = each($this->files);
		if ($_file === false) {
			return false;
		}
		$file = $_file['value'];

		$lines = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
		if ($lines === false) {
			$lines = [];
		}
		return $lines;
	}
public function scanNextFile() {
		$_file = each($this->files);
		if ($_file === false) {
			return false;
		}
		$file = $_file['value'];

		$lines = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
		if ($lines === false) {
			$lines = [];
		}
		return $lines;
	}
public function scanNextFile ( ) { $ _file = each ( $ this -> files ) ; if ( $ _file === false ) { return false ; } $ file = $ _file [ 'value' ] ; $ lines = file ( $ file , FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES ) ; if ( $ lines === false ) { $ lines = [ ] ; } return $ lines ; }
Scan the next file in the array and provide back an array of lines.

@access	public
@return	mixed	Array of lines from the file or false for no more files.
Scan the next file in the array and provide back an array of lines .