reference/pcre/functions/preg-quote.xml
22e850b66cd9a4b8f0e002bd5850f9839caaf152
...
...
@@ -11,7 +11,7 @@
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>preg_quote</methodname>
13
13
<methodparam><type>string</type><parameter>str</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>delimiter</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>delimiter</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
<function>preg_quote</function> takes <parameter>str</parameter>
...
...
@@ -87,6 +87,12 @@
87
87
The <literal>#</literal> character is now quoted
88
88
</entry>
89
89
</row>
90
+
<row>
91
+
<entry>7.2.0</entry>
92
+
<entry>
93
+
<parameter>delimiter</parameter> is nullable now.
94
+
</entry>
95
+
</row>
90
96
</tbody>
91
97
</tgroup>
92
98
</informaltable>
...
...
@@ -147,7 +153,6 @@ $textbody = preg_replace ("/" . preg_quote($word, '/') . "/",
147
153
</refsect1>
148
154

149
155
</refentry>
150
-

151
156
<!-- Keep this comment at the end of the file
152
157
Local variables:
153
158
mode: sgml
154
159