#36877 [Opn]: comma in expr1 undocumented in for ($i=1,$n=10;
| From: | php-bugs at t43 dot mine dot nu | Date: | Mon, 27 Mar 2006 19:52:41 +0000 |
| Subject: | #36877 [Opn]: comma in expr1 undocumented in for ($i=1,$n=10; | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372497@lists.php.net to get a copy of this message | ||
ID: 36877
User updated by: php-bugs at t43 dot mine dot nu
Reported By: php-bugs at t43 dot mine dot nu
Status: Open
Bug Type: Documentation problem
Operating System: na
PHP Version: Irrelevant
New Comment:
It is also undocumented for expr3.
Previous Comments:
------------------------------------------------------------------------
[2006-03-27 21:37:10] php-bugs at t43 dot mine dot nu
Description:
------------
Documentation issue:
The C-like clause for expr1 in
for ($i=0, $n=10; ...)
is accepted but not documented.
The corresponding C-like clause
$i=0, $j=1; outside a for is flagged as an error.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36877&edit=1