I'm on search for a php snipped to cut following binary code:
$code = "10011";
I need from $code an explode array like $codes = array(100,1,1); for example:
echo $codes[0]; // echo result: 100
I'm not sure what php function is helpful, thank you very much for help!