Is it possible to do this in PHP:
$a['foo'] = [1,2,3];
$a['bar'] = [4,5,6];
Instead of array_merge($a['foo'], $a['bar'])
, you would use simply use something like array_merge($a)
instead?
Is it possible to do this in PHP:
$a['foo'] = [1,2,3];
$a['bar'] = [4,5,6];
Instead of array_merge($a['foo'], $a['bar'])
, you would use simply use something like array_merge($a)
instead?