0

I want to count specific strings from array values
$array = array("report=D","report=D","report=D","report=I","report=I");
I am going to count No of "D","U" and "I"
D = Delivered
U = Un Delivered
I = Invalid
I am expecting output is
D = 3
U = 0
I = 2
First I replace "report=" using str...