3v4l.org

run code in 300+ PHP versions simultaneously
<?php $broken_uri = 'domain.com/?campaignid=%campaignid%&adid=%bannerid%'; $hopefully_fixed_uri = str_replace('%', '%25', $broken_uri); var_dump(parse_url($hopefully_fixed_uri));

preferences:
46.49 ms | 409 KiB | 5 Q