← All docs

readfile()

Outputs a file.

readfile()

function readfile(string $filename): mixed

Outputs a file.

Parameters:

  • $filename (string)

Returns: mixed

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how readfile is implemented in the compiler, see the internals page.