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

WBOY
Release: 2016-06-13 10:59:11
Original
773 people have browsed it

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

Related labels:
10
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template