ID:               36877
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php-bugs at t43 dot mine dot nu
-Status:           Closed
+Status:           Open
 Bug Type:         Documentation problem
 Operating System: na
 PHP Version:      Irrelevant
 New Comment:

You can use a comma in expr2 too, it's equivalent to || but much lower
in precedence.


Previous Comments:
------------------------------------------------------------------------

[2006-03-30 09:29:48] php-bugs at t43 dot mine dot nu

I thank you sincerely for the answer.

------------------------------------------------------------------------

[2006-03-30 04:10:15] [EMAIL PROTECTED]

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.

thanks for the patch

------------------------------------------------------------------------

[2006-03-28 17:46:01] [EMAIL PROTECTED]

Note that the use of multiple expressions in expr3 was already
mentionned in example4.

Anyway, here is a suggestion of a possible improvement:

http://patches.colder.ch/control-structures-for.patch

Thanks in advance.

------------------------------------------------------------------------

[2006-03-27 21:52:40] php-bugs at t43 dot mine dot nu

It is also undocumented for expr3.

------------------------------------------------------------------------

[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

Reply via email to