3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'Hi'; echo base64_encode($str); // VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw== $str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw=='; echo base64_decode($str);
Output for 4.3.0 - 7.1.0
SGk=This is an encoded string