There is an array that contains arrays. In php, is there a function that searches in arrays of the second level (in arrays that are contained in the array) value and returns the number of occurrences of the desired element, as well as the index of the array of the first level (which contains arrays in which you need to look for something)?
I look at php.net, but have not yet noticed.