diff --git a/appendices/extensions.xml b/appendices/extensions.xml
index 3434c95e8c14..28202c591c88 100644
--- a/appendices/extensions.xml
+++ b/appendices/extensions.xml
@@ -163,6 +163,7 @@
+
@@ -228,6 +229,7 @@
+
diff --git a/reference/uri/book.xml b/reference/uri/book.xml
new file mode 100644
index 000000000000..39425695e8df
--- /dev/null
+++ b/reference/uri/book.xml
@@ -0,0 +1,52 @@
+
+
+
+ URI
+ URI
+
+
+ &reftitle.intro;
+
+ This chapter describes the functions that allow you to work with
+ Uniform Resource Identifiers (URIs). A URI is a string of characters
+ used to identify a resource. URIs are used in web technologies to
+ identify resources on the Internet.
+
+
+ URI implements RFC 3986, Uniform Resource Identifier (URI): Generic Syntax,
+ which can be found at http://www.ietf.org/rfc/rfc3986.txt.
+ And WHATWG URL Standard, which can be found at
+ https://url.spec.whatwg.org/.
+
+
+
+ &reference.uri.uri.invaliduriexception;
+ &reference.uri.uri.urierror;
+ &reference.uri.uri.uriexception;
+
+ &reference.uri.uri.rfc3986.uri;
+
+ &reference.uri.uri.whatwg.invalidurlexception;
+ &reference.uri.uri.whatwg.url;
+ &reference.uri.uri.whatwg.urlvalidationerror;
+
+
diff --git a/reference/uri/rfc3986/uri/construct.xml b/reference/uri/rfc3986/uri/construct.xml
new file mode 100644
index 000000000000..31236612f36b
--- /dev/null
+++ b/reference/uri/rfc3986/uri/construct.xml
@@ -0,0 +1,81 @@
+
+
+
+ Uri\Rfc3986\Uri::__construct
+ Description
+
+
+
+ &reftitle.description;
+
+ public Uri\Rfc3986\Uri::__construct
+ stringuri
+ Uri\Rfc3986\UrinullbaseUrl&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ URI to parse.
+
+
+
+
+ baseUrl
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::parse
+ Uri\WhatWg\Url::__construct
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/debuginfo.xml b/reference/uri/rfc3986/uri/debuginfo.xml
new file mode 100644
index 000000000000..4657d65356da
--- /dev/null
+++ b/reference/uri/rfc3986/uri/debuginfo.xml
@@ -0,0 +1,66 @@
+
+
+
+ Uri\Rfc3986\Uri::__debugInfo
+ Description
+
+
+
+ &reftitle.description;
+
+ public arrayUri\Rfc3986\Uri::__debugInfo
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\WhatWg\Url::__debugInfo
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/equals.xml b/reference/uri/rfc3986/uri/equals.xml
new file mode 100644
index 000000000000..6d95887f4b2d
--- /dev/null
+++ b/reference/uri/rfc3986/uri/equals.xml
@@ -0,0 +1,113 @@
+
+
+
+ Uri\Rfc3986\Uri::equals
+ Description
+
+
+
+ &reftitle.description;
+
+ public boolUri\Rfc3986\Uri::equals
+ Uri\Rfc3986\Uriuri
+ Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ URI to compare the current URI against.
+
+
+
+
+ comparisonMode
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.success;
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::equals example
+
+ Description.
+
+
+equals($uri2));
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\WhatWg\Url::equals
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getfragment.xml b/reference/uri/rfc3986/uri/getfragment.xml
new file mode 100644
index 000000000000..2ce008fb9a69
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getfragment.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getFragment
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getFragment
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getFragment example
+
+ Description.
+
+
+getFragment();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawFragment
+ Uri\Rfc3986\Uri::withFragment
+ Uri\WhatWg\Url::getFragment
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/gethost.xml b/reference/uri/rfc3986/uri/gethost.xml
new file mode 100644
index 000000000000..3e815a98036a
--- /dev/null
+++ b/reference/uri/rfc3986/uri/gethost.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\Rfc3986\Uri::getHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getHost
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getHost example
+
+ Description.
+
+
+getHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawHost
+ Uri\Rfc3986\Uri::withHost
+ Uri\WhatWg\Url::getAsciiHost
+ Uri\WhatWg\Url::getUnicodeHost
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getpassword.xml b/reference/uri/rfc3986/uri/getpassword.xml
new file mode 100644
index 000000000000..2494cab34ce4
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getpassword.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getPassword
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getPassword
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getPassword example
+
+ Description.
+
+
+getPassword();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawPassword
+ Uri\Rfc3986\Uri::withPassword
+ Uri\WhatWg\Url::getPassword
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getpath.xml b/reference/uri/rfc3986/uri/getpath.xml
new file mode 100644
index 000000000000..730cf518178e
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getpath.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\Rfc3986\Uri::getPath
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\Rfc3986\Uri::getPath
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getPath example
+
+ Description.
+
+
+getPath();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawPath
+ Uri\Rfc3986\Uri::withPath
+ Uri\WhatWg\Url::getPath
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getport.xml b/reference/uri/rfc3986/uri/getport.xml
new file mode 100644
index 000000000000..7492089c74bf
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getport.xml
@@ -0,0 +1,92 @@
+
+
+
+ Uri\Rfc3986\Uri::getPort
+ Description
+
+
+
+ &reftitle.description;
+
+ public intnullUri\Rfc3986\Uri::getPort
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getPort example
+
+ Description.
+
+
+getPort();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withPort
+ Uri\WhatWg\Url::getPort
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getquery.xml b/reference/uri/rfc3986/uri/getquery.xml
new file mode 100644
index 000000000000..847c31232f9a
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getquery.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getQuery
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getQuery
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getQuery example
+
+ Description.
+
+
+getQuery();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawQuery
+ Uri\Rfc3986\Uri::withQuery
+ Uri\WhatWg\Url::getQuery
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawfragment.xml b/reference/uri/rfc3986/uri/getrawfragment.xml
new file mode 100644
index 000000000000..1acba1d7f401
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawfragment.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawFragment
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawFragment
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawFragment example
+
+ Description.
+
+
+getRawFragment();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getFragment
+ Uri\Rfc3986\Uri::withFragment
+ Uri\WhatWg\Url::getFragment
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawhost.xml b/reference/uri/rfc3986/uri/getrawhost.xml
new file mode 100644
index 000000000000..6408058250fe
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawhost.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawHost
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawHost example
+
+ Description.
+
+
+getRawHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getHost
+ Uri\Rfc3986\Uri::withHost
+ Uri\WhatWg\Url::getAsciiHost
+ Uri\WhatWg\Url::getUnicodeHost
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawpassword.xml b/reference/uri/rfc3986/uri/getrawpassword.xml
new file mode 100644
index 000000000000..093e0199cdc7
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawpassword.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawPassword
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawPassword
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawPassword example
+
+ Description.
+
+
+getRawPassword();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPassword
+ Uri\Rfc3986\Uri::withUserInfo
+ Uri\WhatWg\Url::getPassword
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawpath.xml b/reference/uri/rfc3986/uri/getrawpath.xml
new file mode 100644
index 000000000000..8f68676d98b4
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawpath.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawPath
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\Rfc3986\Uri::getRawPath
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawPath example
+
+ Description.
+
+
+getRawPath();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPath
+ Uri\Rfc3986\Uri::withPath
+ Uri\WhatWg\Url::getPath
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawquery.xml b/reference/uri/rfc3986/uri/getrawquery.xml
new file mode 100644
index 000000000000..72e148fb7f1c
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawquery.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawQuery
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawQuery
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawQuery example
+
+ Description.
+
+
+getRawQuery();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getQuery
+ Uri\Rfc3986\Uri::withQuery
+ Uri\WhatWg\Url::getQuery
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawscheme.xml b/reference/uri/rfc3986/uri/getrawscheme.xml
new file mode 100644
index 000000000000..0d951a85d851
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawscheme.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawScheme
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawScheme
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawScheme example
+
+ Description.
+
+
+getRawScheme();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getScheme
+ Uri\Rfc3986\Uri::withScheme
+ Uri\WhatWg\Url::getScheme
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawuserinfo.xml b/reference/uri/rfc3986/uri/getrawuserinfo.xml
new file mode 100644
index 000000000000..382083f16f14
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawuserinfo.xml
@@ -0,0 +1,96 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawUserInfo
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawUserInfo
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawUserInfo example
+
+ Description.
+
+
+getRawUserInfo();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getUserInfo
+ Uri\Rfc3986\Uri::getUsername
+ Uri\Rfc3986\Uri::getPassword
+ Uri\Rfc3986\Uri::withUserInfo
+ Uri\WhatWg\Url::getUsername
+ Uri\WhatWg\Url::getPassword
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getrawusername.xml b/reference/uri/rfc3986/uri/getrawusername.xml
new file mode 100644
index 000000000000..7bfbfd0ceafb
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getrawusername.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\Rfc3986\Uri::getRawUsername
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getRawUsername
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getRawUsername example
+
+ Description.
+
+
+getRawUsername();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawUserInfo
+ Uri\Rfc3986\Uri::getUserInfo
+ Uri\Rfc3986\Uri::withUserInfo
+ Uri\WhatWg\Url::getUsername
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getscheme.xml b/reference/uri/rfc3986/uri/getscheme.xml
new file mode 100644
index 000000000000..66dd97a530e0
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getscheme.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::getScheme
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getScheme
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getScheme example
+
+ Description.
+
+
+getScheme();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawScheme
+ Uri\Rfc3986\Uri::withScheme
+ Uri\WhatWg\Url::getScheme
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getuserinfo.xml b/reference/uri/rfc3986/uri/getuserinfo.xml
new file mode 100644
index 000000000000..44576f604e27
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getuserinfo.xml
@@ -0,0 +1,98 @@
+
+
+
+ Uri\Rfc3986\Uri::getUserInfo
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getUserInfo
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getUserInfo example
+
+ Description.
+
+
+getUserInfo();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawUserInfo
+ Uri\Rfc3986\Uri::getRawUsername
+ Uri\Rfc3986\Uri::getRawPassword
+ Uri\Rfc3986\Uri::getUsername
+ Uri\Rfc3986\Uri::getPassword
+ Uri\Rfc3986\Uri::withUserInfo
+ Uri\WhatWg\Url::getUsername
+ Uri\WhatWg\Url::getPassword
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/getusername.xml b/reference/uri/rfc3986/uri/getusername.xml
new file mode 100644
index 000000000000..028f98a99365
--- /dev/null
+++ b/reference/uri/rfc3986/uri/getusername.xml
@@ -0,0 +1,95 @@
+
+
+
+ Uri\Rfc3986\Uri::getUsername
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\Rfc3986\Uri::getUsername
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::getUsername example
+
+ Description.
+
+
+getUsername();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawUserInfo
+ Uri\Rfc3986\Uri::getRawUsername
+ Uri\Rfc3986\Uri::getUserInfo
+ Uri\Rfc3986\Uri::withUserInfo
+ Uri\WhatWg\Url::getUsername
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/parse.xml b/reference/uri/rfc3986/uri/parse.xml
new file mode 100644
index 000000000000..cb83200fceac
--- /dev/null
+++ b/reference/uri/rfc3986/uri/parse.xml
@@ -0,0 +1,117 @@
+
+
+
+ Uri\Rfc3986\Uri::parse
+ Description
+
+
+
+ &reftitle.description;
+
+ public static staticnullUri\Rfc3986\Uri::parse
+ stringuri
+ Uri\Rfc3986\UrinullbaseUrl&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ URI to parse.
+
+
+
+
+ baseUrl
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::parse example
+
+ Description.
+
+
+toString();
+}
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__construct
+ Uri\WhatWg\Url::parse
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/resolve.xml b/reference/uri/rfc3986/uri/resolve.xml
new file mode 100644
index 000000000000..316740b590ed
--- /dev/null
+++ b/reference/uri/rfc3986/uri/resolve.xml
@@ -0,0 +1,104 @@
+
+
+
+ Uri\Rfc3986\Uri::resolve
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::resolve
+ stringuri
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::resolve example
+
+ Description.
+
+
+resolve("/foo");
+
+echo $uri->toString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\WhatWg\Url::resolve
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/serialize.xml b/reference/uri/rfc3986/uri/serialize.xml
new file mode 100644
index 000000000000..8dae8c41832b
--- /dev/null
+++ b/reference/uri/rfc3986/uri/serialize.xml
@@ -0,0 +1,68 @@
+
+
+
+ Uri\Rfc3986\Uri::__serialize
+ Description
+
+
+
+ &reftitle.description;
+
+ public arrayUri\Rfc3986\Uri::__serialize
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__unserialize
+ Uri\WhatWg\Url::__serialize
+ Uri\WhatWg\Url::__unserialize
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/torawstring.xml b/reference/uri/rfc3986/uri/torawstring.xml
new file mode 100644
index 000000000000..30d186164ea3
--- /dev/null
+++ b/reference/uri/rfc3986/uri/torawstring.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::toRawString
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\Rfc3986\Uri::toRawString
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::toRawString example
+
+ Description.
+
+
+toString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::toString
+ Uri\WhatWg\Url::toAsciiString
+ Uri\WhatWg\Url::toUnicodeString
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/tostring.xml b/reference/uri/rfc3986/uri/tostring.xml
new file mode 100644
index 000000000000..bd98ef611af2
--- /dev/null
+++ b/reference/uri/rfc3986/uri/tostring.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\Rfc3986\Uri::toString
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\Rfc3986\Uri::toString
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::toString example
+
+ Description.
+
+
+toString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::toRawString
+ Uri\WhatWg\Url::toAsciiString
+ Uri\WhatWg\Url::toUnicodeString
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/unserialize.xml b/reference/uri/rfc3986/uri/unserialize.xml
new file mode 100644
index 000000000000..2710d4443fdb
--- /dev/null
+++ b/reference/uri/rfc3986/uri/unserialize.xml
@@ -0,0 +1,80 @@
+
+
+
+ Uri\Rfc3986\Uri::__unserialize
+ Description
+
+
+
+ &reftitle.description;
+
+ public voidUri\Rfc3986\Uri::__unserialize
+ arraydata
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ data
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__serialize
+ Uri\WhatWg\Url::__serialize
+ Uri\WhatWg\Url::__unserialize
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withfragment.xml b/reference/uri/rfc3986/uri/withfragment.xml
new file mode 100644
index 000000000000..75f0becff18f
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withfragment.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\Rfc3986\Uri::withFragment
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withFragment
+ stringnullfragment
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ fragment
+
+
+ New fragment component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withFragment example
+
+ Description.
+
+
+withFragment("bar");
+
+echo $uri->getFragment();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getFragment
+ Uri\Rfc3986\Uri::getRawFragment
+ Uri\WhatWg\Url::withFragment
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withhost.xml b/reference/uri/rfc3986/uri/withhost.xml
new file mode 100644
index 000000000000..3f1418b467a1
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withhost.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\Rfc3986\Uri::withHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withHost
+ stringnullhost
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ host
+
+
+ New host component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withHost example
+
+ Description.
+
+
+withHost("example.net");
+
+echo $uri->getHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getHost
+ Uri\Rfc3986\Uri::getRawHost
+ Uri\WhatWg\Url::withHost
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withpath.xml b/reference/uri/rfc3986/uri/withpath.xml
new file mode 100644
index 000000000000..a295101c07b9
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withpath.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\Rfc3986\Uri::withPath
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withPath
+ stringpath
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ path
+
+
+ New path component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withPath example
+
+ Description.
+
+
+withPath("/baz");
+
+echo $uri->getPath();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPath
+ Uri\Rfc3986\Uri::getRawPath
+ Uri\WhatWg\Url::withPath
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withport.xml b/reference/uri/rfc3986/uri/withport.xml
new file mode 100644
index 000000000000..326e6201ac41
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withport.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\Rfc3986\Uri::withPort
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withPort
+ intnullport
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ port
+
+
+ New port component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withPort example
+
+ Description.
+
+
+withPort(443);
+
+echo $uri->getPort();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPort
+ Uri\WhatWg\Url::withPort
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withquery.xml b/reference/uri/rfc3986/uri/withquery.xml
new file mode 100644
index 000000000000..f592681fcb23
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withquery.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\Rfc3986\Uri::withQuery
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withQuery
+ stringnullquery
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ query
+
+
+ New query component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withQuery example
+
+ Description.
+
+
+withQuery("foo=baz");
+
+echo $uri->getQuery();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawQuery
+ Uri\Rfc3986\Uri::getQuery
+ Uri\WhatWg\Url::withQuery
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withscheme.xml b/reference/uri/rfc3986/uri/withscheme.xml
new file mode 100644
index 000000000000..c2ab929cbe11
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withscheme.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\Rfc3986\Uri::withScheme
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withScheme
+ stringnullscheme
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ scheme
+
+
+ New scheme component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withScheme example
+
+ Description.
+
+
+withScheme("http");
+
+echo $uri->getScheme();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawScheme
+ Uri\Rfc3986\Uri::getScheme
+ Uri\WhatWg\Url::withScheme
+
+
+
+
+
diff --git a/reference/uri/rfc3986/uri/withuserinfo.xml b/reference/uri/rfc3986/uri/withuserinfo.xml
new file mode 100644
index 000000000000..64cdc4b7b272
--- /dev/null
+++ b/reference/uri/rfc3986/uri/withuserinfo.xml
@@ -0,0 +1,111 @@
+
+
+
+ Uri\Rfc3986\Uri::withUserInfo
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\Rfc3986\Uri::withUserInfo
+ #[\SensitiveParameter]stringnulluserinfo
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ userinfo
+
+
+ New userinfo component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\Rfc3986\Uri instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\Rfc3986\Uri::withUserInfo example
+
+ Description.
+
+
+withUserInfo("userinfo");
+
+echo $uri->getUserInfo();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawUserInfo
+ Uri\Rfc3986\Uri::getRawUsername
+ Uri\Rfc3986\Uri::getRawPassword
+ Uri\Rfc3986\Uri::getUserInfo
+ Uri\Rfc3986\Uri::getUsername
+ Uri\Rfc3986\Uri::getPassword
+ Uri\WhatWg\Url::withUsername
+ Uri\WhatWg\Url::withPassword
+
+
+
+
+
diff --git a/reference/uri/uri.invaliduriexception.xml b/reference/uri/uri.invaliduriexception.xml
new file mode 100644
index 000000000000..1b6d326ba8a7
--- /dev/null
+++ b/reference/uri/uri.invaliduriexception.xml
@@ -0,0 +1,61 @@
+
+
+ The Uri\InvalidUriException class
+ Uri\InvalidUriException
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ Uri\InvalidUriException
+
+
+
+ extends
+ Uri\UriException
+
+
+ &InheritedProperties;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.rfc3986.uri.xml b/reference/uri/uri.rfc3986.uri.xml
new file mode 100644
index 000000000000..bbe59fe47a1c
--- /dev/null
+++ b/reference/uri/uri.rfc3986.uri.xml
@@ -0,0 +1,53 @@
+
+
+ The Uri\Rfc3986\Uri class
+ Uri\Rfc3986\Uri
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ final
+ readonly
+ Uri\Rfc3986\Uri
+
+
+ &Methods;
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.urierror.xml b/reference/uri/uri.urierror.xml
new file mode 100644
index 000000000000..05eba02f3460
--- /dev/null
+++ b/reference/uri/uri.urierror.xml
@@ -0,0 +1,61 @@
+
+
+ The Uri\UriError class
+ Uri\UriError
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ Uri\UriError
+
+
+
+ extends
+ Error
+
+
+ &InheritedProperties;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.uriexception.xml b/reference/uri/uri.uriexception.xml
new file mode 100644
index 000000000000..0ead27d60c81
--- /dev/null
+++ b/reference/uri/uri.uriexception.xml
@@ -0,0 +1,61 @@
+
+
+ The Uri\UriException class
+ Uri\UriException
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ Uri\UriException
+
+
+
+ extends
+ Exception
+
+
+ &InheritedProperties;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.whatwg.invalidurlexception.xml b/reference/uri/uri.whatwg.invalidurlexception.xml
new file mode 100644
index 000000000000..f1bd5035cbb2
--- /dev/null
+++ b/reference/uri/uri.whatwg.invalidurlexception.xml
@@ -0,0 +1,71 @@
+
+
+ The Uri\WhatWg\InvalidUrlException class
+ Uri\WhatWg\InvalidUrlException
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ Uri\WhatWg\InvalidUrlException
+
+
+
+ extends
+ Uri\InvalidUriException
+
+
+ &Properties;
+
+ public
+ readonly
+ array
+ errors
+
+
+ &InheritedProperties;
+
+
+
+
+ &Methods;
+
+
+
+
+ &InheritedMethods;
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.whatwg.url.xml b/reference/uri/uri.whatwg.url.xml
new file mode 100644
index 000000000000..58c58d1bb7b8
--- /dev/null
+++ b/reference/uri/uri.whatwg.url.xml
@@ -0,0 +1,53 @@
+
+
+ The Uri\WhatWg\Url class
+ Uri\WhatWg\Url
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ final
+ readonly
+ Uri\WhatWg\Url
+
+
+ &Methods;
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/uri.whatwg.urlvalidationerror.xml b/reference/uri/uri.whatwg.urlvalidationerror.xml
new file mode 100644
index 000000000000..593539879a86
--- /dev/null
+++ b/reference/uri/uri.whatwg.urlvalidationerror.xml
@@ -0,0 +1,67 @@
+
+
+ The Uri\WhatWg\UrlValidationError class
+ Uri\WhatWg\UrlValidationError
+
+
+
+
+
+ &reftitle.classsynopsis;
+
+
+
+ final
+ readonly
+ Uri\WhatWg\UrlValidationError
+
+
+ &Properties;
+
+ public
+ string
+ context
+
+
+ public
+ Uri\WhatWg\UrlValidationErrorType
+ type
+
+
+ public
+ bool
+ failure
+
+
+ &Methods;
+
+
+
+
+
+
+
+
diff --git a/reference/uri/versions.xml b/reference/uri/versions.xml
new file mode 100644
index 000000000000..445315188a7f
--- /dev/null
+++ b/reference/uri/versions.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/reference/uri/whatwg/invalidurlexception/construct.xml b/reference/uri/whatwg/invalidurlexception/construct.xml
new file mode 100644
index 000000000000..637fa6eb9911
--- /dev/null
+++ b/reference/uri/whatwg/invalidurlexception/construct.xml
@@ -0,0 +1,81 @@
+
+
+
+ Uri\WhatWg\InvalidUrlException::__construct
+ Description
+
+
+
+ &reftitle.description;
+
+ public Uri\WhatWg\InvalidUrlException::__construct
+ stringmessage""
+ arrayerrors[]
+ intcode0
+ Throwablenullprevious&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ message
+
+
+ Description.
+
+
+
+
+ errors
+
+
+ Description.
+
+
+
+
+ code
+
+
+ Description.
+
+
+
+
+ previous
+
+
+ Description.
+
+
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/construct.xml b/reference/uri/whatwg/url/construct.xml
new file mode 100644
index 000000000000..8c859a443faf
--- /dev/null
+++ b/reference/uri/whatwg/url/construct.xml
@@ -0,0 +1,90 @@
+
+
+
+ Uri\WhatWg\Url::__construct
+ Description
+
+
+
+ &reftitle.description;
+
+ public Uri\WhatWg\Url::__construct
+ stringuri
+ Uri\WhatWg\UrlnullbaseUrl&null;
+ arraysoftErrors&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ URI to parse.
+
+
+
+
+ baseUrl
+
+
+ Description.
+
+
+
+
+ softErrors
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__construct
+ Uri\WhatWg\Url::parse
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/debuginfo.xml b/reference/uri/whatwg/url/debuginfo.xml
new file mode 100644
index 000000000000..21ec498d703e
--- /dev/null
+++ b/reference/uri/whatwg/url/debuginfo.xml
@@ -0,0 +1,69 @@
+
+
+
+ Uri\WhatWg\Url::__debugInfo
+ Description
+
+
+
+ &reftitle.description;
+
+ public arrayUri\WhatWg\Url::__debugInfo
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ ClassName::otherMethodName
+ some_function
+ something appendix
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/equals.xml b/reference/uri/whatwg/url/equals.xml
new file mode 100644
index 000000000000..c74ff6a992c4
--- /dev/null
+++ b/reference/uri/whatwg/url/equals.xml
@@ -0,0 +1,113 @@
+
+
+
+ Uri\WhatWg\Url::equals
+ Description
+
+
+
+ &reftitle.description;
+
+ public boolUri\WhatWg\Url::equals
+ Uri\WhatWg\Urlurl
+ Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ url
+
+
+ URL to compare the current URL against.
+
+
+
+
+ comparisonMode
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.success;
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::equals example
+
+ Description.
+
+
+equals($url2));
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::equals
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getasciihost.xml b/reference/uri/whatwg/url/getasciihost.xml
new file mode 100644
index 000000000000..471054f5d19d
--- /dev/null
+++ b/reference/uri/whatwg/url/getasciihost.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getAsciiHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getAsciiHost
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getAsciiHost example
+
+ Description.
+
+
+getAsciiHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getHost
+ Uri\Rfc3986\Uri::getRawHost
+ Uri\WhatWg\Url::withHost
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getfragment.xml b/reference/uri/whatwg/url/getfragment.xml
new file mode 100644
index 000000000000..d81091d1d8be
--- /dev/null
+++ b/reference/uri/whatwg/url/getfragment.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getFragment
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getFragment
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getFragment example
+
+ Description.
+
+
+getFragment();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getFragment
+ Uri\Rfc3986\Uri::getRawFragment
+ Uri\WhatWg\Url::withFragment
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getpassword.xml b/reference/uri/whatwg/url/getpassword.xml
new file mode 100644
index 000000000000..7110c8c79bb0
--- /dev/null
+++ b/reference/uri/whatwg/url/getpassword.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getPassword
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getPassword
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getPassword example
+
+ Description.
+
+
+getPassword();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPassword
+ Uri\Rfc3986\Uri::getRawPassword
+ Uri\WhatWg\Url::withPassword
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getpath.xml b/reference/uri/whatwg/url/getpath.xml
new file mode 100644
index 000000000000..db8e853f66c1
--- /dev/null
+++ b/reference/uri/whatwg/url/getpath.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getPath
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\WhatWg\Url::getPath
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getPath example
+
+ Description.
+
+
+getPath();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPath
+ Uri\Rfc3986\Uri::getRawPath
+ Uri\WhatWg\Url::withPath
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getport.xml b/reference/uri/whatwg/url/getport.xml
new file mode 100644
index 000000000000..4a6082880225
--- /dev/null
+++ b/reference/uri/whatwg/url/getport.xml
@@ -0,0 +1,93 @@
+
+
+
+ Uri\WhatWg\Url::getPort
+ Description
+
+
+
+ &reftitle.description;
+
+ public intnullUri\WhatWg\Url::getPort
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getPort example
+
+ Description.
+
+
+getPort();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getPort
+ Uri\WhatWg\Url::withPort
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getquery.xml b/reference/uri/whatwg/url/getquery.xml
new file mode 100644
index 000000000000..3f2fd42c4591
--- /dev/null
+++ b/reference/uri/whatwg/url/getquery.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getQuery
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getQuery
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getQuery example
+
+ Description.
+
+
+getQuery();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawQuery
+ Uri\Rfc3986\Uri::getQuery
+ Uri\WhatWg\Url::withQuery
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getscheme.xml b/reference/uri/whatwg/url/getscheme.xml
new file mode 100644
index 000000000000..e4ec20ebb057
--- /dev/null
+++ b/reference/uri/whatwg/url/getscheme.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getScheme
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\WhatWg\Url::getScheme
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getScheme example
+
+ Description.
+
+
+getScheme();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawScheme
+ Uri\Rfc3986\Uri::getScheme
+ Uri\WhatWg\Url::withScheme
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getunicodehost.xml b/reference/uri/whatwg/url/getunicodehost.xml
new file mode 100644
index 000000000000..393d9d7bded3
--- /dev/null
+++ b/reference/uri/whatwg/url/getunicodehost.xml
@@ -0,0 +1,95 @@
+
+
+
+ Uri\WhatWg\Url::getUnicodeHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getUnicodeHost
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getUnicodeHost example
+
+ Description.
+
+
+getUnicodeHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawHost
+ Uri\Rfc3986\Uri::getHost
+ Uri\WhatWg\Url::getUnicodeHost
+ Uri\WhatWg\Url::withHost
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/getusername.xml b/reference/uri/whatwg/url/getusername.xml
new file mode 100644
index 000000000000..196fbe73e101
--- /dev/null
+++ b/reference/uri/whatwg/url/getusername.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::getUsername
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringnullUri\WhatWg\Url::getUsername
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::getUsername example
+
+ Description.
+
+
+getUsername();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getRawUsername
+ Uri\Rfc3986\Uri::getUsername
+ Uri\WhatWg\Url::withUsername
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/parse.xml b/reference/uri/whatwg/url/parse.xml
new file mode 100644
index 000000000000..8191a5bcbc83
--- /dev/null
+++ b/reference/uri/whatwg/url/parse.xml
@@ -0,0 +1,126 @@
+
+
+
+ Uri\WhatWg\Url::parse
+ Description
+
+
+
+ &reftitle.description;
+
+ public static staticnullUri\WhatWg\Url::parse
+ stringuri
+ Uri\WhatWg\UrlnullbaseUrl&null;
+ arrayerrors&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ URI to parse.
+
+
+
+
+ baseUrl
+
+
+ Description.
+
+
+
+
+ errors
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::parse example
+
+ Description.
+
+
+toAsciiString();
+}
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::parse
+ Uri\WhatWg\Url::__construct
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/resolve.xml b/reference/uri/whatwg/url/resolve.xml
new file mode 100644
index 000000000000..094167adee83
--- /dev/null
+++ b/reference/uri/whatwg/url/resolve.xml
@@ -0,0 +1,113 @@
+
+
+
+ Uri\WhatWg\Url::resolve
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::resolve
+ stringuri
+ arraysoftErrors&null;
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ uri
+
+
+ Description.
+
+
+
+
+ softErrors
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::resolve example
+
+ Description.
+
+
+resolve("/foo");
+
+echo $url->toAsciiString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::resolve
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/serialize.xml b/reference/uri/whatwg/url/serialize.xml
new file mode 100644
index 000000000000..dc9584b457b0
--- /dev/null
+++ b/reference/uri/whatwg/url/serialize.xml
@@ -0,0 +1,68 @@
+
+
+
+ Uri\WhatWg\Url::__serialize
+ Description
+
+
+
+ &reftitle.description;
+
+ public arrayUri\WhatWg\Url::__serialize
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__serialize
+ Uri\WhatWg\Url::__unserialize
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/toasciistring.xml b/reference/uri/whatwg/url/toasciistring.xml
new file mode 100644
index 000000000000..75347418ed5b
--- /dev/null
+++ b/reference/uri/whatwg/url/toasciistring.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::toAsciiString
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\WhatWg\Url::toAsciiString
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::toAsciiString example
+
+ Description.
+
+
+toAsciiString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::toRawString
+ Uri\Rfc3986\Uri::toString
+ Uri\WhatWg\Url::toUnicodeString
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/tounicodestring.xml b/reference/uri/whatwg/url/tounicodestring.xml
new file mode 100644
index 000000000000..47d3326e00fc
--- /dev/null
+++ b/reference/uri/whatwg/url/tounicodestring.xml
@@ -0,0 +1,94 @@
+
+
+
+ Uri\WhatWg\Url::toUnicodeString
+ Description
+
+
+
+ &reftitle.description;
+
+ public stringUri\WhatWg\Url::toUnicodeString
+
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Description.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::toUnicodeString example
+
+ Description.
+
+
+toAsciiString();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::toRawString
+ Uri\Rfc3986\Uri::toString
+ Uri\WhatWg\Url::toAsciiString
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/unserialize.xml b/reference/uri/whatwg/url/unserialize.xml
new file mode 100644
index 000000000000..68060b3208d0
--- /dev/null
+++ b/reference/uri/whatwg/url/unserialize.xml
@@ -0,0 +1,79 @@
+
+
+
+ Uri\WhatWg\Url::__unserialize
+ Description
+
+
+
+ &reftitle.description;
+
+ public voidUri\WhatWg\Url::__unserialize
+ arraydata
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ data
+
+
+ Description.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.void;
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::__unserialize
+ Uri\WhatWg\Url::__serialize
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withfragment.xml b/reference/uri/whatwg/url/withfragment.xml
new file mode 100644
index 000000000000..f4e071a52177
--- /dev/null
+++ b/reference/uri/whatwg/url/withfragment.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withFragment
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withFragment
+ stringnullfragment
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ fragment
+
+
+ New fragment component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withFragment example
+
+ Description.
+
+
+withFragment("bar");
+
+echo $url->getFragment();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withFragment
+ Uri\WhatWg\Url::getFragment
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withhost.xml b/reference/uri/whatwg/url/withhost.xml
new file mode 100644
index 000000000000..3b9998873d9e
--- /dev/null
+++ b/reference/uri/whatwg/url/withhost.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\WhatWg\Url::withHost
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withHost
+ stringnullhost
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ host
+
+
+ New host component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withHost example
+
+ Description.
+
+
+withHost("example.net");
+
+echo $url->getHost();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withHost
+ Uri\WhatWg\Url::getAsciiHost
+ Uri\WhatWg\Url::getUnicodeHost
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withpassword.xml b/reference/uri/whatwg/url/withpassword.xml
new file mode 100644
index 000000000000..c3b3aa20ffe1
--- /dev/null
+++ b/reference/uri/whatwg/url/withpassword.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withPassword
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withPassword
+ #[\SensitiveParameter]stringnullpassword
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ password
+
+
+ New password component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withPassword example
+
+ Description.
+
+
+withPassword("pass");
+
+echo $url->getPassword();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getUserInfo
+ Uri\WhatWg\Url::getPassword
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withpath.xml b/reference/uri/whatwg/url/withpath.xml
new file mode 100644
index 000000000000..1cfe4604dd3f
--- /dev/null
+++ b/reference/uri/whatwg/url/withpath.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withPath
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withPath
+ stringpath
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ path
+
+
+ New path component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withPath example
+
+ Description.
+
+
+with("/baz");
+
+echo $url->get();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withPath
+ Uri\WhatWg\Url::getPath
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withport.xml b/reference/uri/whatwg/url/withport.xml
new file mode 100644
index 000000000000..4d8d20fb860b
--- /dev/null
+++ b/reference/uri/whatwg/url/withport.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withPort
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withPort
+ intnullport
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ port
+
+
+ New port component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withPort example
+
+ Description.
+
+
+withPort(443);
+
+echo $url->getPort();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withPort
+ Uri\WhatWg\Url::getPort
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withquery.xml b/reference/uri/whatwg/url/withquery.xml
new file mode 100644
index 000000000000..08f2532ed79c
--- /dev/null
+++ b/reference/uri/whatwg/url/withquery.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withQuery
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withQuery
+ stringnullquery
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ query
+
+
+ New query component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withQuery example
+
+ Description.
+
+
+withQuery("foo=baz");
+
+echo $url->getQuery();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withQuery
+ Uri\WhatWg\Url::getQuery
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withscheme.xml b/reference/uri/whatwg/url/withscheme.xml
new file mode 100644
index 000000000000..3e5879ef0c2c
--- /dev/null
+++ b/reference/uri/whatwg/url/withscheme.xml
@@ -0,0 +1,105 @@
+
+
+
+ Uri\WhatWg\Url::withScheme
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withScheme
+ stringscheme
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ scheme
+
+
+ New scheme component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withScheme example
+
+ Description.
+
+
+withScheme("http");
+
+echo $url->getScheme();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::withScheme
+ Uri\WhatWg\Url::getScheme
+
+
+
+
+
diff --git a/reference/uri/whatwg/url/withusername.xml b/reference/uri/whatwg/url/withusername.xml
new file mode 100644
index 000000000000..e6216391c83b
--- /dev/null
+++ b/reference/uri/whatwg/url/withusername.xml
@@ -0,0 +1,106 @@
+
+
+
+ Uri\WhatWg\Url::withUsername
+ Description
+
+
+
+ &reftitle.description;
+
+ public staticUri\WhatWg\Url::withUsername
+ stringnullusername
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ username
+
+
+ New username component.
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ The modified Uri\WhatWg\Url instance.
+
+
+
+
+ &reftitle.errors;
+
+ When does this function issue E_* level errors,
+ and/or throw Exceptions.
+
+
+
+
+ &reftitle.examples;
+
+ Uri\WhatWg\Url::withUsername example
+
+ Description.
+
+
+withUsername("usr");
+
+echo $url->getUsername();
+?>
+]]>
+
+ &example.outputs;
+
+
+
+
+
+
+
+ &reftitle.seealso;
+
+ Uri\Rfc3986\Uri::getUsername
+ Uri\Rfc3986\Uri::getRawUsername
+ Uri\WhatWg\Url::getUsername
+
+
+
+
+
diff --git a/reference/uri/whatwg/urlvalidationerror/construct.xml b/reference/uri/whatwg/urlvalidationerror/construct.xml
new file mode 100644
index 000000000000..e50d03bd61ba
--- /dev/null
+++ b/reference/uri/whatwg/urlvalidationerror/construct.xml
@@ -0,0 +1,72 @@
+
+
+
+ Uri\WhatWg\UrlValidationError::__construct
+ Description
+
+
+
+ &reftitle.description;
+
+ public Uri\WhatWg\UrlValidationError::__construct
+ stringcontext
+ Uri\WhatWg\UrlValidationErrorTypetype
+ boolfailure
+
+ &warn.undocumented.func;
+
+ Description.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ context
+
+
+ Description.
+
+
+
+
+ type
+
+
+ Description.
+
+
+
+
+ failure
+
+
+ Description.
+
+
+
+
+
+
+