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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -