somemethod()[]"是否会出问题?如果是在foreach循环呢?PHP版本为5.3"/> somemethod()[]"是否会出问题?如果是在foreach循环呢?PHP版本为5.3">

Home  >  Article  >  Backend Development  >  php-PHP低版本中,类对象在使用方法提取数据后直接使用数组访问符号是否有问题?

php-PHP低版本中,类对象在使用方法提取数据后直接使用数组访问符号是否有问题?

WBOY
WBOYOriginal
2016-06-02 11:28:21795browse

phpforeach数组class

"$this->somemethod()[]"是否会出问题?如果是在foreach循环呢?PHP版本为5.3

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