[Solved] Micro-optimizations: if($var){ … } vs if($var): … endif [closed]


I’m sure the difference is negligible, if there is any. If the difference is important to you, you should probably use a faster (likely compiled) language.

You would do better optimizing more intensive things, like databases first (and writing clean code, as @Tim stated).

solved Micro-optimizations: if($var){ … } vs if($var): … endif [closed]