<?php $url = 'http://foo.bar?asd=qwe?bans=asf'; $foo = filter_var($url, FILTER_VALIDATE_URL); var_dump($foo);
You have javascript disabled. You will not be able to edit any code.