3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(decoct(1)); var_dump(decoct(0)); var_dump(dechex(1)); var_dump(dechex(0));
based on iBmhp
Output for 4.3.0 - 7.2.0
string(1) "1" string(1) "0" string(1) "1" string(1) "0"