Home  >  Article  >  Backend Development  >  这两段在服务器施行的效率差别大不大?

这两段在服务器施行的效率差别大不大?

WBOY
WBOYOriginal
2016-06-13 10:59:11752browse

这两段在服务器执行的效率差别大不大????
$a=3;
$b=$a-1;
$c=$b*10;
$d=$c+3;
===================我是分割线==========================
$a=3;
$d=($a-1)*10-3;
===================我是分割线==========================
只要求效率。。。哪个效率高一点。。。差别大不大?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn