derick Sun Aug 31 07:04:48 2003 EDT
Modified files: /phpdoc/en/reference/funchand/functions call-user-func-array.xml Log: - Fixed example and made parameter name clearer Index: phpdoc/en/reference/funchand/functions/call-user-func-array.xml diff -u phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.5 phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.6 --- phpdoc/en/reference/funchand/functions/call-user-func-array.xml:1.5 Mon Jun 16 10:37:37 2003 +++ phpdoc/en/reference/funchand/functions/call-user-func-array.xml Sun Aug 31 07:04:47 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/funchand.xml, last change in rev 1.10 --> <refentry id="function.call-user-func-array"> <refnamediv> @@ -13,12 +13,12 @@ <methodsynopsis> <type>mixed</type><methodname>call_user_func_array</methodname> <methodparam><type>callback</type><parameter>function</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>paramarr</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>param_arr</parameter></methodparam> </methodsynopsis> <para> Call a user defined function given by <parameter>function</parameter>, with - the parameters in <parameter>paramarr</parameter>. + the parameters in <parameter>param_arr</parameter>. For example: </para> <para> @@ -26,7 +26,7 @@ <programlisting role="php"> <![CDATA[ <?php -function debug($var, $val) +function debug($var, $val) { echo "***DEBUGGING\nVARIABLE: $var\nVALUE:"; if (is_array($val) || is_object($val) || is_resource($val)) print_r($val);