public static function getCurrentArch(): string
    {
        $arch = php_uname('m');

        if ($arch === "x86_64") {
            $arch = "amd64";
        } elseif ($arch === "i386") {
            $arch = "386";
        } else {
            // TODO: Whats here?
            printf('ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s', PHP_EOL);
            exit(1);
        }

        return $arch;
    }
public static function getCurrentArch(): string
    {
        $arch = php_uname('m');

        if ($arch === "x86_64") {
            $arch = "amd64";
        } elseif ($arch === "i386") {
            $arch = "386";
        } else {
            // TODO: Whats here?
            printf('ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s', PHP_EOL);
            exit(1);
        }

        return $arch;
    }
public static function getCurrentArch ( ) : string { $ arch = php_uname ( 'm' ) ; if ( $ arch === "x86_64" ) { $ arch = "amd64" ; } elseif ( $ arch === "i386" ) { $ arch = "386" ; } else { // TODO: Whats here? printf ( 'ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s' , PHP_EOL ) ; exit ( 1 ) ; } return $ arch ; }
Returns the architecture of the current machine
Returns the architecture of the current machine