Write a function

write a php program using array function for above array type to find $a=array (“a”=>“Rajesh”, “b”=>“nirav”,“c”=>“varun”) , $b =array (“c” =>“varun”, "d’=> “kaushal”, “e"mehul”)
A. find difference in two array $a&$b
B.compute interaction in $a&$b
C. Remove last element of $a
D. Check value “nirav” exist or not from $a
E. Exchange all key with their value of $b
F.Spilt $a array in chunks sir isko solve kaise karte hain please reply me