Anonymous | Login | Signup for a new account | 12-17-2024 08:46 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000533 | [Quercus] | minor | always | 12-21-05 01:13 | 04-06-06 13:57 | ||||
Reporter | bago | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000533: array_merge_recursive function is not implemented | ||||||||
Description | http://www.php.net/array_merge_recursive [^] | ||||||||
Additional Information |
php Workaround (this supports objects too): if (!function_exists('array_merge_recursive')) { function array_merge_recursive($paArray1, $paArray2) { if(is_array($paArray2)) { foreach ($paArray2 AS $sKey2 => $sValue2) { $paArray1[$sKey2] = array_merge_recursive(@$paArray1[$sKey2], $sValue2); } } elseif(is_object($paArray2)) { foreach ($paArray2 AS $sKey2 => $sValue2) { $paArray1->{$sKey2} = array_merge_recursive(@$paArray1->{$sKey2}, $sValue2); } } else { return $paArray2; } return $paArray1; } } |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed. 28 unique queries executed. |