3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function encodeString($str) { for ($i = 0; $i < 5; ++$i) { $str = base64_decode(strrev($str)); } return $str; } /*var_dump(encodeString('=AFVxIkVWRWYSdlUhRVbwh1YqZkcUVVOhFGbWlXVtFDa')); var_dump(encodeString('=AFVxI1VrRWYSdlUhRVbwh1YqZkcUVVOhFGbWlXVtFDa')); var_dump(encodeString('==AUUFjQWZlWX10VSFmUtBnUWdkUzVlbOd3VGpleVxGZaZ1aKVlV650cidkRoRVb4plUxA3VWZFa0ImVaVlUtFDaW1Ge1Z1aJhnVGFUP')); var_dump(encodeString('==AUUFjQWZFZhJVbShlVrZlaTVEczZlbjVjVxIVWS1GcoZVbSZUWVx2cStWMLJFbSV1Yx82dVJDehFWMaRVVrpVaZZFczZ1aJhnVGFUP')); var_dump(encodeString('==AUUFjQWZlWhJFbOhWYEJUalZEbzZ1akdUTxI1VVxGZoFmRKNXVsR2aS1mSoVVbwZVZWxmVV1GbTFWMKhmUtFzUT12d6ZVb0gnVGFUP')); */ var_dump(encodeString('==AUUFjQWZlVLJVbSl1VthnUTVkWYRlVOBjVWpFMhZEaoV1MoRXVxQ2ViVEMwQmRkVlVxA3cZFjU3JmVKd3VqZ0VVFjSZZlM0gnVGFUP'));
based on Zefhg
Output for 4.3.0 - 5.6.40, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.3.4
string(20) "ngToRdSWeIDEnTINAObn"