Getting elements after each key element occurence PHP Array
I have an array with following elements: $array = ["START","a","a","a","START","b","b","b","START","c","c","c"]; I need to get only the elements of the array AFTER every occurence of the key element "START" into their own array: Example: $arr[0] = ["a","a","a"]; $arr[1] = ["b","b","b"]; $arr[2]…