associative array in php have same value join them

Solutions on MaxInterview for associative array in php have same value join them by the best coders in the world

showing results for - "associative array in php have same value join them"
Debora
18 Jan 2020
1
2<?php
3$a array('green''red''yellow');
4$b array('avocado''apple''banana');
5$c = array_combine($a$b);
6
7print_r($c);
8?>
9
10