彻底解决zend studio 下 assignment in condition警告

最近在mac系统下安装zend studio作为php开发工具,把以前的代码导入,发现项目中有很多 “assignment in condition”的警告,造成原因是在条件判断的if、while中使用了如下类似的做法: if ($res = $other) while (($row = $res->fetchRow(DB_FETCHMODE_OBJECT))) 想去掉这个警告有多种方法,这
相关文章
相关标签/搜索