Remove superfluous variable from example code

Closes GH-1624.
This commit is contained in:
Max Schumacher 2022-06-13 12:52:49 +02:00 committed by GitHub
parent e2f53f0f60
commit 6de3c40884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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