小编Wil*_*ner的帖子

数组上的 PHP 非法字符串偏移警告

我从 if 语句中的数组中收到非法字符串偏移警告

411.  if (is_array($attrib['affixes'])) { // merge
412.     $new_affix = array_merge($attrib['affixes'], $new_affix);
413.  }
Run Code Online (Sandbox Code Playgroud)

正是警告是

“警告:C:\xampp\htdocs\pengakar-master\src\Pengakar.php 中第 411 行的非法字符串偏移量'词缀'”

我在下面插入完整的代码:

http://ideone.com/QQEdCu

另一部分还好。只有得到错误的那部分

谢谢您的帮助。

php arrays string warnings

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

arrays ×1

php ×1

string ×1

warnings ×1