<?php posix_getpwuid(int $user_id): array|false
<?php private function isLinuxRoot(): bool { return PHP_OS_FAMILY !== 'Windows' && posix_getpwuid(posix_geteuid())['name'] === 'root'; } private function cleanupReadOnlyFile(string $filename): void