Home  >  Article  >  Backend Development  >  for循环解惑解决思路

for循环解惑解决思路

WBOY
WBOYOriginal
2016-06-13 12:48:38782browse

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


------解决方案--------------------
for($i = 0; $i  var_dump($i)."\n\r";
}
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