3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t1 = decbin(8); echo $t1; echo "\n"; $t2 = substr($t1, 0, 6); echo $t2; echo "\n"; $t3 = bindec('100000'); echo $t3; echo "\n"; echo chr($t3); //echo $t4; echo "\n"; echo chr(bindec(substr(decbin(193), 0, 6)));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1000 1000 32 0