PHP: Control Structure. Boolean operator, if, switch & loop usage