programming-examples/php/_Basics/Program to merge two arrays into a new array..php

9 lines
135 B
PHP
Raw Normal View History

2019-11-15 12:59:38 +01:00
<?php
$arr1 = array('a','b','c');
$arr2 = array('d','e','f');
$newarr = array_merge($arr1,$arr2);
print_r($newarr);
?>