base_convert
pestphp/pest
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Convert a number between arbitrary bases
<?php base_convert
(
string $num
,
int $from_base
,
int $to_base
):
string