Display the drop-down list

bindec()

« bin2hex | cal_days_in_month »
<?php
$number 
bindec (
    
  // string $binary_string
);
?>
Result
$number = 51
Examples
#1 bindec  ("110011")
#2 bindec  ("000110011")
#3 bindec  ("111")
See also
base_convert, decbin, hexdec, octdec