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

Remove description about preg e modifier (#5430)

`e` modifier was removed in PHP 7.0.
It has already been removed from `pattern.modifiers.xml`:
bcb7074498
This commit is contained in:
Takuya Aramaki
2026-03-20 17:21:14 +09:00
committed by GitHub
parent ef757b033b
commit 79c53e3fa2

View File

@@ -85,16 +85,6 @@
<literal>$1</literal> backreference, leaving the <literal>1</literal>
as a literal.
</para>
<para>
When using the deprecated <literal>e</literal> modifier, this function escapes
some characters (namely <literal>'</literal>, <literal>"</literal>,
<literal>\</literal> and NULL) in the strings that replace the
backreferences. This is done to ensure that no syntax errors arise
from backreference usage with either single or double quotes (e.g.
<literal>'strlen(\'$1\')+strlen("$2")'</literal>). Make sure you are
aware of PHP's <link linkend="language.types.string">string
syntax</link> to know exactly how the interpreted string will look.
</para>
</listitem>
</varlistentry>
<varlistentry>