Menu Samaritan's Purse

UNLINK

Deletes a file

SYNTAX

unlink ( string $filename [, resource $context ] ) : bool

PARAMETERS

filename

Path to the file.

context

Note: For a description of contexts, refer to Streams.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

FILENAME


CONTEXT


PHP