1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

add literal around getcurrent error

This commit is contained in:
Karoly Negyesi
2026-02-06 17:32:36 +01:00
parent 4e69a9f2b1
commit 31e56c25f9

View File

@@ -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>