[doc-en] master: docs: clarify quotemeta empty-string return value (#5933)

From: Date: Mon, 12 Oct 2026 11:37:18 +0000
Subject: [doc-en] master: docs: clarify quotemeta empty-string return value (#5933)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23833@lists.php.net to get a copy of this message
Author: Aykut Güney (KeuqS) Committer: GitHub (web-flow) Pusher: lacatoire Date: 2026-10-12T13:37:14+02:00 Commit: https://github.com/php/doc-en/commit/a518b2c5379647ca31d11602d5842f605f5c233c Raw diff: https://github.com/php/doc-en/commit/a518b2c5379647ca31d11602d5842f605f5c233c.diff docs: clarify quotemeta empty-string return value (#5933) * docs: clarify quotemeta empty-string return value * docs: satisfy DocBook style check --------- Co-authored-by: KeuqS <KeuqS@users.noreply.github.com> Changed paths: M reference/strings/functions/quotemeta.xml Diff: diff --git a/reference/strings/functions/quotemeta.xml b/reference/strings/functions/quotemeta.xml index ef04f8d08fb4..0af6030ce66d 100644 --- a/reference/strings/functions/quotemeta.xml +++ b/reference/strings/functions/quotemeta.xml @@ -37,10 +37,33 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; - <para> - Returns the string with meta characters quoted, or &false; if an empty - string is given as <parameter>string</parameter>. - </para> + <simpara> + Returns the string with meta characters quoted. If an empty string is given + as <parameter>string</parameter>, an empty string is returned. + </simpara> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + Returns an empty string, instead of &false;, when <parameter>string</parameter> + is empty. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> </refsect1> <refsect1 role="examples">

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