bindec in PHP December 7, 2021 by Codingtube team Syntax of bindec number bindec(string binary) Converts binary to a decimal value. Up to a 32-bit number, or 2,147,483,647 decimal, can be converted. Output of bindec 51 51 7