Do not include the URL path.
* STRIP_QUERY
Do not include the URL querystring.
-* STRIP_FRAMGENT
+* STRIP_FRAGMENT
Strip the fragment (hash) from the URL.
* STRIP_ALL
Strip everything except scheme and host information.
* SANITIZE_PATH
Whether to sanitize the URL path (consolidate double slashes, directory jumps etc.)
* PARSE_MBUTF8
- Parse UTF-8 encododed multibyte sequences.
+ Parse UTF-8 encoded multibyte sequences.
* PARSE_MBLOC
Parse locale encoded multibyte sequences (on systems with wide character support).
* PARSE_TOIDN
- Parse and convert multibyte hostnames according to IDNA (with libidn support).
+ Parse and convert multibyte hostnames according to IDNA (with IDNA support).
+* PARSE_TOIDN_2003
+ Explicitly request IDNA2003 implementation if available (libidn, idnkit or ICU).
+* PARSE_TOIDN_2008
+ Explicitly request IDNA2008 implementation if available (libidn2, idnkit2 or ICU).
* PARSE_TOPCT
Percent encode multibyte sequences in the userinfo, path, query and fragment parts of the URL.
* IGNORE_ERRORS