<?php base_convert(string $num, int $from_base, int $to_base): string
<?php $filePerms = fileperms($file); $filePerms = substr(sprintf('%o', $filePerms), -3); return (int) base_convert($filePerms, 8, 10); } }