File path: dist/twist/Core/Models/Tools.model.php
Namespace: Twist\Core\Models
arrayMergeRecursive
— Fully merge two multidimensional arrays and return the new merged array.
Name | Description |
---|---|
$arrPrimary | n/a |
$arrSecondary | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$arrPrimary = array(0 => 'foo', 1 => 'bar');
$arrSecondary = array(0 => 'foo', 1 => 'bar');
//Call the function arrayMergeRecursive with the example vars
$resTools = new \Twist\Core\Models\Tools();
$resTools -> arrayMergeRecursive($arrPrimary, $arrSecondary);