PHP Velho Oeste 2024

delete

(None)

delete参见 unlink()unset()

说明

在 PHP 语言里,没有 delete 关键词或函数。在这里,你若要删除文件,可以使用 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