PHP 7.1.0 Release Candidate 4 Released



deleteVedere unlink() oppure unset()


void delete ( string $file )

Questa funzione non esiste, la sua presenza nel manuale vuole essere utile a coloro che cercano nel posto sbagliato le funzioni unlink() o unset().

Vedere anche unlink() per cancellare file, unset() per eliminare variabili.

add a note add a note

User Contributed Notes 4 notes

1 year ago
Thank you for creating this dummy item. It helped me!
Edward Morgan
3 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.
Guest Visitor
3 years ago
A "dummy entry" is a "fake" entry or, in this case, an entry for a command that does not actually exist, so that people can find the correct one. The word "dummy" is used in the same way as in the expression "a tailor's dummy", which is a fake person used to stand in for a real client so that they can see the results of the work.
3 years ago
php is a C like language - the syntax is similar,
most of the functions in PHP are pulled from C  standard libraries (and POSIX)

"unlink" is a C function.  (originally POSIX, but recently standardised by ISO as _unlink)

"delete" is a CP/M command which is same as the "era" CP/M command

"del" is a MS-DOS command that is same as the "erase" MS-DOS command
To Top