3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = "http://tactos.servidorgrupokai.com.br/redepratika/page/2/?post_type=post%2F&s=teste"; $url = str_replace("%2F&", "&", $url); echo $url; // will return http://www.website.com?p=107 ?>
based on Zmiak
Output for 4.3.0 - 7.1.10
http://tactos.servidorgrupokai.com.br/redepratika/page/2/?post_type=post&s=teste