Bin ke DEC PHP

$binary = '1101100010010010';

$decimal = bindec($binary);

echo $binary . ' -> decimal value is: ' . $decimal;
vmxes