public static function readFile($strFilePath)
    {
        $result = "";
        $handle = fopen($strFilePath, "r");
        while (!feof($handle)) {
            $result .= fread($handle, 8000);
        }
        fclose($handle);

        return $result;
    }
public static function readFile($strFilePath)
    {
        $result = "";
        $handle = fopen($strFilePath, "r");
        while (!feof($handle)) {
            $result .= fread($handle, 8000);
        }
        fclose($handle);

        return $result;
    }
public static function readFile ( $ strFilePath ) { $ result = "" ; $ handle = fopen ( $ strFilePath , "r" ) ; while ( ! feof ( $ handle ) ) { $ result .= fread ( $ handle , 8000 ) ; } fclose ( $ handle ) ; return $ result ; }
Read the file from disk

@param string $strFilePath Path of the file to be read

@return string|mixed read data. Can return binary data
Read the file from disk