<?php$number = bindec ( "110011" // string $binary_string);?>
$number = 51
51
#1
bindec
("110011")
#2
("000110011")
#3
("111")