我有这个。
array(3) {
["a"]=>
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
["a"]=>
array(2) {
[0]=>
string(1) "c"
[1]=>
string(1) "d"
}
["b"]=>
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
}
如何在php和js中合并以返回相同的数组:
array(2) {
["a"]=>
array(4) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
}
["b"]=>
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
}