Warning: array_merge(): Argument #3 is not an array

WBOY
Release: 2016-09-05 08:44:44
Original
1900 people have browsed it

The background code is written like this
$data['goods'] = array_merge($goods, $cat_goods, $all_goods);
I used to pass two arrays, but now I will get an error when I pass three arrays. What’s the explanation? ?
I checked the manual, but there is no solution given in the manual. I hope you can give me some advice. Thanks

Warning: array_merge(): Argument #3 is not an array

Thank you everyone, I will solve it myself, it’s nothing complicated after all

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!