← All docs

unlink()

Deletes a file.

function unlink(string $filename): bool

Deletes a file.

Parameters:

  • $filename (string)

Returns: bool

Availability

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

Internals

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