while($i
if(!defined('APP_PATH')); //0.20043
// defined('APP_PATH') OR 1; //0.107475
$i++;
}
$t2 = microtime();
echo $t2 - $t1;
?>
大家去测试一下吧这里我测试了的结果是or 比if效率要高一些哦。
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