3v4l.org

run code in 300+ PHP versions simultaneously
<?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 ?>

preferences:
36.14 ms | 402 KiB | 5 Q