3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(base64_decode("VV ==")); var_dump(base64_decode("VV= =")); var_dump(base64_decode("VV ==", true)); var_dump(base64_decode("VV= =", true));
Output for 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.30, 7.4.0 - 7.4.23, 8.0.0 - 8.0.10, 8.1rc1 - rc2
string(1) "U" string(1) "U" string(1) "U" string(1) "U"
Output for 5.5.0 - 5.5.36, 5.6.0 - 5.6.28, 7.0.0 - 7.0.7
string(1) "U" string(1) "U" string(1) "U" bool(false)

preferences:
47.41 ms | 460 KiB | 5 Q