Php Get Random Number Python Integer To Binary