3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = base64_encode('TRAV_PIDI_transferts_CRI.php?action=liste'); var_dump($a); $b = '_ABOCR*/%'; var_dump($b); $c = urldecode($b); var_dump('url', urldecode($b)); var_dump(urldecode(':/_&')); var_dump('basdec', base64_decode($c, true)); function base64UrlSafeEncode($binary) { return urlencode(base64_encode($binary)); } function base64UrlSafeDecode($string) { return base64_decode(urldecode($string)); }
based on 3esud
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0rc3
string(56) "VFJBVl9QSURJX3RyYW5zZmVydHNfQ1JJLnBocD9hY3Rpb249bGlzdGU=" string(9) "_ABOCR*/%" string(3) "url" string(9) "_ABOCR*/%" string(4) ":/_&" string(6) "basdec" bool(false)