<?php var_dump(filter_var('http://[::1]/foo/bar', FILTER_VALIDATE_URL));
You have javascript disabled. You will not be able to edit any code.