[PHP-DEV] Error In PHP FAQ From: Michael Stearne (MStearne <email protected>)
Date: 09/03/99

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>