的几个问题 “究竟是什么最短的代码?”:PHP代码优化
没有{}
if($match->name == "Marry") { $match = true; }
没有{}
if($match->name == "Marry") { $match = true; } else { $match = false; }
如何询问
if $match = true
?如何询问
if array() has any value
?如何询问
if $variable has numeric value
(0-9)?如何询问
if $variable's first symbol isn't a letter or number
?如何询问
if $match = false
?
针对内存中字节码的最小大小进行优化?最快的执行?或开发人员输入的字符数最少? – 2010-07-29 16:14:09
请让它被优化以便其他程序员在项目中简单理解。我需要解密一个__的时间,我可以在一行代码中做到这一点!'_废话并不好笑。再说一遍,我通常是在我以前的日子/年里把那条单行意大利面条放在那里的那个。为我服务的权利。 – Wrikken 2010-07-29 16:20:01