for循环解惑

WBOY
Release: 2016-06-23 14:05:24
Original
702 people have browsed it

for($i == 0; $i  var_dump($i)."\n\r";
}
我想问,输出结果为什么不是0而是null?


回复讨论(解决方案)

for($i  = 0; $i  var_dump($i)."\n\r";
}

for($i = 0; $i  var_dump($i)."\n\r";
}

好像是这个原因,写错了。

Related labels:
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