php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #30940 Description of function argument list is too restrictive
Submitted: 2004-11-30 08:45 UTC Modified: 2004-12-20 03:27 UTC
From: pjames-php at james4 dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5.0.1 OS: any
Private report: No CVE-ID: None
 [2004-11-30 08:45 UTC] pjames-php at james4 dot com
Description:
------------
In the documentation for function arguments (http://www.php.net/manual/en/functions.arguments.php), it describes arguments as follows:

Information may be passed to functions via the argument list, which is a comma-delimited list of variables and/or constants. 

I believe "list of variables and/or constants" should be changed to "expressions" as follows:

Information may be passed to functions via the argument list, which is a comma-delimited list of expressions. 



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-20 03:27 UTC] didou@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of didou
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=2b33ef00fdc9cc7644ff28751d5de09ceca77ef9
Log: fix #30940: we pass expressions as arguments
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 09:00:02 2025 UTC