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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user