📅  最后修改于: 2022-03-11 14:54:41.695000             🧑  作者: Mango
$currentDirectoryName = basename(__DIR__);
echo 'Currently in the '.$currentDirectoryName .' directory
';
$fullPath = dir(getcwd());
echo 'The full path is: ' . $fullPath->path . '
';