protected static function _explodeDottedOID(string $oid): array
    {
        $subids = [];
        if (strlen($oid)) {
            foreach (explode(".", $oid) as $subid) {
                $n = @gmp_init($subid, 10);
                if (false === $n) {
                    throw new \UnexpectedValueException(
                        "'$subid' is not a number.");
                }
                $subids[] = $n;
            }
        }
        return $subids;
    }
protected static function _explodeDottedOID(string $oid): array
    {
        $subids = [];
        if (strlen($oid)) {
            foreach (explode(".", $oid) as $subid) {
                $n = @gmp_init($subid, 10);
                if (false === $n) {
                    throw new \UnexpectedValueException(
                        "'$subid' is not a number.");
                }
                $subids[] = $n;
            }
        }
        return $subids;
    }
protected static function _explodeDottedOID ( string $ oid ) : array { $ subids = [ ] ; if ( strlen ( $ oid ) ) { foreach ( explode ( "." , $ oid ) as $ subid ) { $ n = @ gmp_init ( $ subid , 10 ) ; if ( false === $ n ) { throw new \ UnexpectedValueException ( "'$subid' is not a number." ) ; } $ subids [ ] = $ n ; } } return $ subids ; }
Explode dotted OID to an array of sub ID's.

@param string $oid OID in dotted format
@return \GMP[] Array of GMP numbers
Explode dotted OID to an array of sub ID s .