3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'abc5ai2h'; var_dump(base64_encode(base64_decode($str, true)));
based on MfTg8
Output for 5.2.0 - 7.1.0
string(8) "abc5ai2h"
Output for 4.3.0 - 5.1.6
Warning: base64_decode() expects exactly 1 parameter, 2 given in /in/YYaEe on line 4 string(0) ""