Translations:Manual:Coding conventions/PHP/211/en

Control structures such as $if, $while, $for, $foreach, $switch, as well as the $catch keyword, should be followed by a space: