<html>
<body>
echo bindec("0011") . "<br>";
echo bindec("01") . "<br>";
echo bindec("11000110011") . "<br>";
echo bindec("111");
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_math_bindec by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:03 GMT -->
</html>