While using a switch case loop, can i use the for loop for iterating the cases?

Posted by Parth on Stack Overflow See other posts from Stack Overflow or by Parth
Published on 2010-04-24T10:29:10Z Indexed on 2010/04/24 10:33 UTC
Read the original article Hit count: 129

Filed under:
|

In PHP, While using a switch case loop, can i use the for loop for iterating the cases? for example

switch .....

foreach($xyz as $abc)

{
 CASE:$abc
}

default;

Is this possible?

© Stack Overflow or respective owner

Related posts about php

Related posts about switch-statement