public static function dec2num($dec) { switch (BigInt::support()) { case 'gmp': return gmp_init($dec); case 'big_int': return bi_from_str($dec); case 'bcmath': return $dec; case '': default: return BigInt::_dec2num($dec); } }