mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Remove superfluous variable from example code
Closes GH-1624.
This commit is contained in:
parent
e2f53f0f60
commit
6de3c40884
1 changed files with 2 additions and 2 deletions
|
@ -49,11 +49,11 @@
|
|||
<title><function>func_num_args</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
||||
<?php
|
||||
function foo()
|
||||
{
|
||||
$numargs = func_num_args();
|
||||
echo "Number of arguments: $numargs\n";
|
||||
echo "Number of arguments: ", func_num_args(), PHP_EOL;
|
||||
}
|
||||
|
||||
foo(1, 2, 3);
|
||||
|
|
Loading…
Reference in a new issue