3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'M2ZWUHlYMmVFY01rMg=='; echo $str, "\n"; $str2 = base64_decode($str); echo $str2, "\n"; $str3 = strrev($str2); echo $str3, "\n"; $str4 = base64_decode($str3); echo bin2hex($str4), "\n"; $str4 = base64_decode($str3 . '='); echo $str4, "\n"; $str4 = base64_decode($str3 . '=='); echo $str4, "\n";
based on 7IqTm
Output for 7.1.0 - 7.2.0
M2ZWUHlYMmVFY01rMg== 3fVPyX2eEcMk2 2kMcEe2XyPVf3 da431c11ed97c8f55f �C��_ �C��_
Output for 5.4.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.0.20
M2ZWUHlYMmVFY01rMg== 3fVPyX2eEcMk2 2kMcEe2XyPVf3 da431c11ed97c8f55f