vrana           Fri Sep 10 10:50:48 2004 EDT

  Modified files:              
    /phpdoc/en/reference/funchand/functions     func-get-arg.xml 
                                                func-get-args.xml 
                                                func-num-args.xml 
  Log:
  Can't be used as a function parameter (bug #29967)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/funchand/functions/func-get-arg.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/funchand/functions/func-get-arg.xml
diff -u phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.5 
phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.6
--- phpdoc/en/reference/funchand/functions/func-get-arg.xml:1.5 Sat Jun  5 10:33:24 
2004
+++ phpdoc/en/reference/funchand/functions/func-get-arg.xml     Fri Sep 10 10:50:48 
2004
@@ -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.1 -->
   <refentry id="function.func-get-arg">
    <refnamediv>
@@ -18,6 +18,8 @@
      function's argument list. Function arguments are counted starting
      from zero. <function>func_get_arg</function> will generate a
      warning if called from outside of a function definition.
+     This function can not be used directly as a function parameter. You have
+     to assign the result to a variable and pass that variable instead.
     </simpara>
     <simpara>
      If <parameter>arg_num</parameter> is greater than the number of
http://cvs.php.net/diff.php/phpdoc/en/reference/funchand/functions/func-get-args.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/funchand/functions/func-get-args.xml
diff -u phpdoc/en/reference/funchand/functions/func-get-args.xml:1.5 
phpdoc/en/reference/funchand/functions/func-get-args.xml:1.6
--- phpdoc/en/reference/funchand/functions/func-get-args.xml:1.5        Sat Jun  5 
10:33:24 2004
+++ phpdoc/en/reference/funchand/functions/func-get-args.xml    Fri Sep 10 10:50:48 
2004
@@ -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.1 -->
   <refentry id="function.func-get-args">
    <refnamediv>
@@ -19,6 +19,8 @@
      member of the current user-defined function's argument
      list. <function>func_get_args</function> will generate a warning
      if called from outside of a function definition.
+     This function can not be used directly as a function parameter. You have
+     to assign the result to a variable and pass that variable instead.
     </simpara>
     <para>
      <informalexample>
http://cvs.php.net/diff.php/phpdoc/en/reference/funchand/functions/func-num-args.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/funchand/functions/func-num-args.xml
diff -u phpdoc/en/reference/funchand/functions/func-num-args.xml:1.4 
phpdoc/en/reference/funchand/functions/func-num-args.xml:1.5
--- phpdoc/en/reference/funchand/functions/func-num-args.xml:1.4        Thu Jan 15 
07:42:26 2004
+++ phpdoc/en/reference/funchand/functions/func-num-args.xml    Fri Sep 10 10:50:48 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/funchand.xml, last change in rev 1.1 -->
   <refentry id="function.func-num-args">
    <refnamediv>
@@ -18,6 +18,8 @@
      Returns the number of arguments passed into the current
      user-defined function. <function>func_num_args</function> will
      generate a warning if called from outside of a user-defined function.
+     This function can not be used directly as a function parameter. You have
+     to assign the result to a variable and pass that variable instead.
     </simpara>
     <para>
      <informalexample>

Reply via email to