PHP Velho Oeste 2024

delete

deleteСмотрите описание функции unlink() или unset()

Описание

В PHP отсутствует функция с именем delete. Если вы попали на эту страницу в поисках функции удаления файла, то вам стоит воспользоваться функцией unlink(). Если же вам надо удалить переменную в локальной области видимости, то вам нужна функция unset().

Смотрите также

  • unlink() - Удаляет файл
  • unset() - Удаляет переменную

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