Question:Which of the following is correct selection switch-case syntax for blade engine? 

A 
@switch($i)
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
@endswitch
 

B 
@switch($i)
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
@end switch
 

C 
@switch($i)
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
@end
 

D 
@switch($i){
    @case(1)
        First case...
        @break

    @case(2)
        Second case...
        @break

    @default
        Default case...
}
 

+ Answer
+ Report
Total Preview: 994

Copyright © 2024. Powered by Intellect Software Ltd