Can't be used as a function parameter (bug #29967)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168312 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-09-10 14:50:48 +00:00
parent 3974f6c102
commit c54542ee8f
3 changed files with 9 additions and 3 deletions

View file

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

View file

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

View file

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