svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-replace-callback.xml

From: Date: Fri, 02 Oct 2009 20:31:21 +0000
Subject: svn: /phpdoc/en/trunk/reference/pcre/functions/ preg-replace-callback.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5032@lists.php.net to get a copy of this message
fa Fri, 02 Oct 2009 20:31:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289097 Log: fix #49685 - returns NULL on errors Bug: http://bugs.php.net/49685 (Open) Docs: What does preg_replace_callback() do on error? Changed paths: U phpdoc/en/trunk/reference/pcre/functions/preg-replace-callback.xml Modified: phpdoc/en/trunk/reference/pcre/functions/preg-replace-callback.xml =================================================================== --- phpdoc/en/trunk/reference/pcre/functions/preg-replace-callback.xml 2009-10-02 20:20:03 UTC (rev 289096) +++ phpdoc/en/trunk/reference/pcre/functions/preg-replace-callback.xml 2009-10-02 20:31:21 UTC (rev 289097) @@ -125,11 +125,11 @@ <para> <function>preg_replace_callback</function> returns an array if the <parameter>subject</parameter> parameter is an array, or a string - otherwise. + otherwise. On errors the return value is &null; </para> <para> If matches are found, the new subject will be returned, otherwise - <parameter>subject</parameter> will be returned unchanged. + <parameter>subject</parameter> will be returned unchanged. </para> </refsect1>

« previous php.doc.cvs (#5032) next »