PHP Programing language

Which can Merge two array Recursively
Previous Home Next
<html>
<head>
<title>Merge two or more arrays recursively</title>
</head>
<body>
<?php
   $a = array("A" => 10, "C" => 20);
   $b = array("B" => 30, "D" => 40);
   $c = array_merge_recursive($a, $b);
   print_r($c);
?>
</body>
</html>

 

Output:

Previous Home Next

Tolal:0 Click:

Show All Comments

Did not find what you were looking for leave your name and message. We will revert within 24 hours
Name:
eMail:
Comment / Feedback: