(PHP 5, PHP 7)
streamWrapper::unlink — Delete a file
$path
) : boolThis method is called in response to unlink().
Nota:
In order for the appropriate error message to be returned this method should not be defined if the wrapper does not support removing files.
pathThe file URL which should be deleted.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
Emite
E_WARNING se uma chamada a essa função falha
(não implementada, por exemplo).
Nota:
A propriedade streamWrapper::$context é atualizada se um contexto válido é passado no chamador da função.