3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(base64_encode('hello')); var_dump(base_convert('hello', 256, 64));
Output for 4.3.2 - 7.1.0
string(8) "aGVsbG8=" Warning: base_convert(): Invalid `from base' (256) in /in/fCg0Z on line 5 bool(false)
Output for 4.3.0 - 4.3.1
string(8) "aGVsbG8=" Warning: base_convert() [http://www.php.net/function.base-convert]: Invalid `from base' (256) in /in/fCg0Z on line 5 bool(false)