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

From: Date: Wed, 11 Dec 2002 12:51:23 +0000
Subject: cvs: phpdoc /en/reference/pcre/functions preg-replace-callback.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350268@lists.php.net to get a copy of this message
hholzgra Wed Dec 11 07:51:23 2002 EDT Modified files: /phpdoc/en/reference/pcre/functions preg-replace-callback.xml Log: - parameter type for the callback changed from "mixed" to "callback" - version history removed as this is already auto-included Index: phpdoc/en/reference/pcre/functions/preg-replace-callback.xml diff -u phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.2 phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.3 --- phpdoc/en/reference/pcre/functions/preg-replace-callback.xml:1.2 Wed Apr 17 02:42:48 2002 +++ phpdoc/en/reference/pcre/functions/preg-replace-callback.xml Wed Dec 11 07:51:23 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.47 --> <refentry id="function.preg-replace-callback"> <refnamediv> @@ -11,7 +11,7 @@ <methodsynopsis> <type>mixed</type><methodname>preg_replace_callback</methodname> <methodparam><type>mixed</type><parameter>pattern</parameter></methodparam> - <methodparam><type>mixed</type><parameter>callback</parameter></methodparam> + <methodparam><type>callback</type><parameter>callback</parameter></methodparam> <methodparam><type>mixed</type><parameter>subject</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>limit</parameter></methodparam> </methodsynopsis> @@ -21,7 +21,7 @@ <parameter>replacement</parameter> parameter, one should specify a <parameter>callback</parameter> that will be called and passed an array of matched elements in the subject string. The callback should return the - replacement string. This function was added in PHP 4.0.5. + replacement string. </para> <para> See also <function>preg_replace</function>.

« previous php.doc (#969350268) next »