PHP Velho Oeste 2024

delete

deleteConsulte unlink() ou unset()

Descrição

Não existe função ou instrução "delete" no PHP. Se você chegou nesta página procurando por deletar arquivos, veja unlink(). Para deletar uma variável de um escopo local, veja unset().

Veja Também

  • unlink() - Apaga um arquivo
  • unset() - Remove a definição de uma variável informada

add a note add a note

User Contributed Notes 1 note

up
-21
Edward Morgan
10 years ago
Unlink refers to the underlying UNIX command, unlink, which removes the symbolic or hard link to the file, not necessarily the file itself. The file is only removed when all links to the file are removed.
To Top