> > switch($a){ > case true: > //will match true, 1, etc... > break; > strict case false: > //will not match anything except boolean FALSE > //other stuff > break; > case false: > //will match 0, null, etc.... > break; > } >
I like this syntax, but I think I'd prefer the other way around. `case strict false:` describes better what the condition is. Regards, Pedro