3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'YWJj'; var_dump(base64_encode(base64_decode($str, true)) === $str);
based on S9TkX
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
bool(true)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.1.6
Warning: base64_decode() expects exactly 1 parameter, 2 given in /in/BX0Ue on line 4 bool(false)