3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = base_convert(0x2B,16,2); $b = base_convert(~0x2B,16,2); var_dump($a, $b);
Output for 4.3.0 - 7.1.0
string(7) "1000011" string(7) "1000100"