Home  >  Article  >  Backend Development  >  这种情况如何处理呢

这种情况如何处理呢

WBOY
WBOYOriginal
2016-06-23 13:46:51882browse

给个思路


回复讨论(解决方案)

先判断参与操作的是否为数组
if(is_array($a)) $k = array_keys($a);
if(is_array($a) && in_array($c, $s)) 

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