for循环解惑

WBOY
WBOYOriginal
2016-06-23 14:05:24732browse

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";
}

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

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