2024-03-03 UTC
# real_devastatia The problems I address with filter_var are much simpler than yours, at any rate. When I add a link to a page, I always include the scheme. It broke in one case when a visitor omitted the scheme from their website URL when they posted to my guestbook, but I went into phpMyAdmin and fixed it. I don't encounter the issue frequently enough to need a more robust solution.