Home >Backend Development >PHP Tutorial > 是否php判断不出现的代码,文件读取的时候就是不会读取的呢

是否php判断不出现的代码,文件读取的时候就是不会读取的呢

WBOY
WBOYOriginal
2016-06-13 12:35:09869browse

是不是php判断不出现的代码,文件读取的时候就是不会读取的呢?
如 
$a=3;
if($a echo "dsfdsf";
echo "dsfdsf";
echo "dsfdsf";
echo "dsfdsf";
echo "dsfdsf";
}else{
echo "大于0";
}
?>
这里是否小于0的时候,花括号里面的都会被浏览器忽略直接跳过不读取的呢?会不会随着内容增多而影响速度?

PHP 浏览器
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