Is FILTER_VALIDATE_URL being too strict?

后端 未结 4 1270
[愿得一人]
[愿得一人] 2021-02-12 16:26

In PHP, filter_var(\'www.example.com\', FILTER_VALIDATE_URL) returns false. Is this correct? Isn\'t www.example.com a valid URL, or protoc

4条回答
提交回复
热议问题