Php – What's the simplest way to check if a multidimensional array has some common values and, if so, do the sum of the subvalues
What's the simplest way and uses less computing power to check if a multidimensional array has some equal values in the sub keys and, if is in this way, make the sum of that? Look at the input. It's something…