3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $some_string = "1"; echo base_convert($some_string, 10, 1);
Output for 4.3.2 - 7.1.0
Warning: base_convert(): Invalid `to base' (1) in /in/8M4qP on line 4
Output for 4.3.0 - 4.3.1
Warning: base_convert() [http://www.php.net/function.base-convert]: Invalid `to base' (1) in /in/8M4qP on line 4