first
This commit is contained in:
commit
5aa7d034f7
3292 changed files with 465160 additions and 0 deletions
14
data/web/inc/lib/array_merge_real.php
Executable file
14
data/web/inc/lib/array_merge_real.php
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
function array_merge_real()
|
||||
{
|
||||
$output = [];
|
||||
foreach (func_get_args() as $array) {
|
||||
foreach ($array as $key => $value) {
|
||||
$output[$key] = isset($output[$key]) ?
|
||||
array_merge($output[$key], $value) : $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue