3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class dec{ function bin($a){ echo decbin($a); }} $obj=new dec(); $obj->bin(22);
Output for 4.3.0 - 7.1.0
10110