【发布时间】:2012-01-07 21:49:33
【问题描述】:
这个问题是关于代码优化的:什么对性能更好,为什么(第一个例子对人类->程序员->我来说更干净)?
$value = $anothervalue = getValue();
或
$anothervalue = $getValue;
$value = $anothervalue;
【问题讨论】:
-
谈谈微优化。你觉得哪一个更容易阅读?使用那个。
标签: php coding-style