mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
func_num_args: minor cleanups
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65782 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
c099115aa1
commit
d7fffae095
1 changed files with 2 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.24 $ -->
|
||||
<!-- $Revision: 1.25 $ -->
|
||||
<reference id="ref.funchand">
|
||||
<title>Function Handling functions</title>
|
||||
<titleabbrev>Functions</titleabbrev>
|
||||
|
@ -412,8 +412,7 @@ foo (1, 2, 3);
|
|||
<simpara>
|
||||
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 function
|
||||
definition.
|
||||
generate a warning if called from outside of a user-defind function.
|
||||
</simpara>
|
||||
<para>
|
||||
<informalexample>
|
||||
|
@ -437,11 +436,6 @@ foo (1, 2, 3); // Prints 'Number of arguments: 3'
|
|||
<function>func_get_args</function> to allow user-defined
|
||||
functions to accept variable-length argument lists.
|
||||
</simpara>
|
||||
<note>
|
||||
<simpara>
|
||||
This function was added in PHP 4.
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue