PHP 8.1.30 Released!

Voting

: seven minus seven?
(Example: nine)

The Note You're Voting On

tomv
7 years ago
If $oldname and $newname are existing hard links referring to the same file, then rename() does nothing, and returns a success status.
(from the underlying libc rename() manual)
On the other hand "/bin/mv oldname newname" results in the removal of "oldname".

<< Back to user notes page

To Top