php - Micro-optimizations: if($var){ ... } vs if($var): ... endif -
is if($var){ ... }
faster if($var): ... endif
?
which 1 use?
i'm sure difference negligible, if there any. if difference is important you, should use faster (likely compiled) language.
you better optimizing more intensive things, databases first (and writing clean code, @tim stated).
Comments
Post a Comment