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>.



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to