| Anonymous | Login | Signup for a new account | 11-02-2025 17:55 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.0.18 | Product Version | |||||
| Product Build | |||||||||
| Summary | 0000533: array_merge_recursive function is not implemented | ||||||||
| Description | http://www.php.net/array_merge_recursive [^] | ||||||||
| Steps To Reproduce | |||||||||
| 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. |