- substr: documentation ( source)
- var_dump: documentation ( source)
- chr: documentation ( source)
- bindec: documentation ( source)
- decbin: documentation ( source)
<?php
$t1 = decbin(8);
echo $t1;
echo "\n";
$t2 = substr($t1, 0, 6);
echo $t2;
echo "\n";
$t3 = bindec('100000');
echo $t3;
echo "\n";
var_dump(chr('8'));
//echo $t4;
echo "\n";
echo chr(bindec(substr(decbin(193), 0, 6)));