Important note - rename() does NOT work for *directories* across filesystems or devices. Only *files* You will get two warnings: PHP Warning: rename(): The first argument to copy()...www.php.netTIME.rfTime = +new Date;
WarningDefining case-insensitive constants is deprecated as of PHP 7.3.0. As of PHP 8.0.0, only is an acceptable value, passing will produce a warning. Note: Case-insensitive const...www.php.net