Testy adresów zdefiniowanych:

http://m1chu.eu/: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

https://wp.pl-/: nieprawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

http://utnij.eu/ident/4/2/: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

htt://adres.com/temp/: nieprawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

http://localhost/: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

http://192.168.0.1/: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

ftp://adres.com:80/xxx/: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

http://subdomena.domena.pl/index.php?set=parametr: prawidłowy adres URL (preg_match) | prawidłowy adres URL (filter_var)

Test: nieprawidłowy adres URL (preg_match) | nieprawidłowy adres URL (filter_var)

Adres URL do przetestowania: