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

9 lines
135 B
PHP
Raw Permalink Normal View History

2019-11-18 14:44:36 +01:00
<?php
$arr1 = array('a','b','c');
$arr2 = array('d','e','f');
$newarr = array_merge($arr1,$arr2);
print_r($newarr);
?>