Add information about return value in case of error

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250181 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-01-09 00:15:33 +00:00
parent 85f88aad73
commit f7ef445f8f

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.26 $ -->
<!-- $Revision: 1.27 $ -->
<refentry xml:id="function.preg-replace" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>preg_replace</refname>
@ -142,7 +142,7 @@
<para>
If matches are found, the new <parameter>subject</parameter> will
be returned, otherwise <parameter>subject</parameter> will be
returned unchanged.
returned unchanged or &null; if an error occurred.
</para>
</refsect1>