[DOC-CVS] [doc-en] master: add literal around getcurrent error

[email protected] (Karoly Negyesi)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Karoly Negyesi (chx)
Date: 2026-02-06T17:33:25+01:00

Commit: https://github.com/php/doc-en/commit/31e56c25f90ebedf9aa4aa4877fbc859e1e0529c
Raw diff: https://github.com/php/doc-en/commit/31e56c25f90ebedf9aa4aa4877fbc859e1e0529c.diff

add literal around getcurrent error

Changed paths:
  M  language/predefined/closure/getcurrent.xml


Diff:

diff --git a/language/predefined/closure/getcurrent.xml b/language/predefined/closure/getcurrent.xml
index 81cf05dbb947..5d307c18a73f 100644
--- a/language/predefined/closure/getcurrent.xml
+++ b/language/predefined/closure/getcurrent.xml
@@ -19,7 +19,7 @@
   </para>
   <para>
    This method must be called from within a closure; calling it outside of a
-   closure context will result in Error: Current function is not a closure.
+   closure context will result in <literal>Error: Current function is not a closure.</literal>
   </para>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.