Write a menu driven PHP program to perform the following operations on associative arrays:a) Sort the array by values (changing the keys) in ascending, descending order.
b) Also sort the array by values without changing the keys.
c) Filter the odd elements from an array.
d) Sort the different arrays at a glance using single function.
e) Merge the given arrays.
f) Find the Union, intersection& set difference of two arrays.
0 Comments