#23695 [Opn->Csd]: 'continue' is not documented in detail
| From: | rasmus@php.net | Date: | Tue, 27 May 2003 14:22:37 +0000 |
| Subject: | #23695 [Opn->Csd]: 'continue' is not documented in detail | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969353941@lists.php.net to get a copy of this message | ||
ID: 23695
Updated by: rasmus@php.net
Reported By: krenya at inf dot bme dot hu
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: any
PHP Version: 4.3.1
New Comment:
Documented. Will show up online on the next doc generation run.
Previous Comments:
------------------------------------------------------------------------
[2003-05-19 07:04:13] krenya at inf dot bme dot hu
You could add half a sentence to the 'continue' page of the manual that
'continue' will work for the 'switch' structure too, and behave just
like 'break'. And that you have to use 'countinue 2' to get to the real
loop containing the 'switch'. "continue is used within looping
structures" can be very misleading as you can see from the user
comments.
Neither does the 'switch' docs page say that "'switch' is considered a
looping structure in PHP." Bug #747 states this but I think it should
be in the docs too.
I saw 5 other bug reports which tried to classify this behavior an
engine bug. I concluded that it's not. If you could add these 2 lines
to the docs people won't bother you with this problem again.
Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23695&edit=1