<?php realpath(string $path): string|false
<?php $systemTempDir = Path::normalize(realpath(sys_get_temp_dir())); $basePath = $systemTempDir.'/'.$namespace.'/'.$shortClass; while (false === @mkdir($tempDir = $basePath.rand(10000, 99999), 0777, true)) {