/e -> 'e'

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174727 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sean Coates 2004-12-14 18:35:42 +00:00
parent 95362e65ed
commit 884d0238bb

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 -->
<refentry id="function.preg-replace">
<refnamediv>
@ -159,7 +159,7 @@ The slow black bear jumped over the lazy dog.
though.
</para>
<para>
<literal>/e</literal> modifier makes <function>preg_replace</function>
The <literal>e</literal> modifier makes <function>preg_replace</function>
treat the <parameter>replacement</parameter> parameter as PHP code after
the appropriate references substitution is done. Tip: make sure that
<parameter>replacement</parameter> constitutes a valid PHP code string,
@ -191,7 +191,7 @@ $startDate = 5/27/1999
</para>
<para>
<example>
<title>Using /e modifier</title>
<title>Using the 'e' modifier</title>
<programlisting role="php">
<![CDATA[
<?php