Error In PHP FAQ
| From: | Michael Stearne | Date: | Fri, 03 Sep 1999 21:46:09 +0000 |
| Subject: | Error In PHP FAQ | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10532@lists.php.net to get a copy of this message | ||
In the PHP FAQ:
5.3 When I do the following, the output is printed in the wrong order:
function myfunc($argument) {
echo $myfunc + 10;
}
$variable = 10;
echo "myfunc($variable) = " .
myfunc($variable);
shouldn't this say:
function myfunc($argument) {
echo $argument + 10; ///// Here
}
$variable = 10;
echo "myfunc($variable) = " .
myfunc($variable);
It might be misleading to new users.
Michael