http://£.mydomain.com
bool(true)
http://example.com£mydomain.com
bool(false)
http://example.com£%2Emydomain.com
bool(false)
http://%00.mydomain.com
bool(true)
http://%00mydomain.com
bool(false)
data://text%2Fhtml%2C%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E.mydomain.com
bool(true)
feed:http://mydomain.com
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/Xn9ER on line 13
bool(false)
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
http://£.mydomain.com
bool(true)
http://example.com£mydomain.com
bool(false)
http://example.com£%2Emydomain.com
bool(false)
http://%00.mydomain.com
bool(true)
http://%00mydomain.com
bool(false)
data://text%2Fhtml%2C%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E.mydomain.com
bool(true)
feed:http://mydomain.com
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/Xn9ER on line 13
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /in/Xn9ER on line 13
bool(false)
http://£.mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
http://example.com£mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
http://example.com£%2Emydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
http://%00.mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
http://%00mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
data://text%2Fhtml%2C%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E.mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)
feed:http://mydomain.com
Notice: Use of undefined constant PHP_URL_HOST - assumed 'PHP_URL_HOST' in /in/Xn9ER on line 4
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/Xn9ER on line 4
bool(false)