3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $trans_id = 'vGGFu8t/vVJI+sqZAJKL0sGhcSM='; $html_in = array('/\+/', '/=/', '/\//'); $html_out = array('%2B', '%3D', '%2F'); echo(preg_replace($html_in, $html_out, $trans_id));
Output for 4.3.0 - 7.1.0
vGGFu8t%2FvVJI%2BsqZAJKL0sGhcSM%3D