[doc-en] master: docs(context.http): document uri_parser_class option added in PHP 8.5 (#5843)

From: Date: Mon, 07 Sep 2026 20:32:37 +0000
Subject: [doc-en] master: docs(context.http): document uri_parser_class option added in PHP 8.5 (#5843)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23723@lists.php.net to get a copy of this message
Author: Louis-Arnaud (lacatoire) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-09-07T22:32:34+02:00 Commit: https://github.com/php/doc-en/commit/aa42c6da04101f58317a901ccc38ee0d1faeab47 Raw diff: https://github.com/php/doc-en/commit/aa42c6da04101f58317a901ccc38ee0d1faeab47.diff docs(context.http): document uri_parser_class option added in PHP 8.5 (#5843) Changed paths: M language/context/http.xml Diff: diff --git a/language/context/http.xml b/language/context/http.xml index 41fbcb1d4922..3693060cc0cb 100644 --- a/language/context/http.xml +++ b/language/context/http.xml @@ -194,10 +194,50 @@ </para> </listitem> </varlistentry> + <varlistentry xml:id="context.http.uri-parser-class"> + <term> + <parameter>uri_parser_class</parameter> + <type>string</type> or <type>null</type> + </term> + <listitem> + <simpara> + The class to use for parsing URIs. When &null;, the legacy behavior + based on <function>parse_url</function> is used. Accepted values are + <classname>Uri\Rfc3986\Uri</classname> (RFC 3986 compliant parser) and + <classname>Uri\WhatWg\Url</classname> (WHATWG URL Standard parser). + Custom userland implementations are not supported. + </simpara> + <simpara> + Defaults to &null;. + </simpara> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.5.0</entry> + <entry> + The <parameter>uri_parser_class</parameter> option was added. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para>

« previous php.doc.cvs (#23723) next »