Home > Backend Development > PHP Tutorial > Warning: array_merge(): Argument #3 is not an array

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-09-05 08:44:44
Original
1979 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
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template