这是我的简单代码:
$item['suppliers'] = array_values($item['suppliers']);
这是 PHP 错误日志:
[22-May-2019 13:05:23 Europe/Moscow] PHP Warning: array_values() expects parameter 1 to be array, array given in /var/www/xxx/Controller.php on line 242
[22-May-2019 13:07:06 Europe/Moscow] PHP Warning: array_values() expects parameter 1 to be array, array given in /var/www/xxx/Controller.php on line 242
[22-May-2019 13:07:45 Europe/Moscow] PHP Warning: array_values() expects parameter 1 to be array, array given in /var/www/xxx/Controller.php on line 242
素胚勾勒不出你
qq_笑_17