So I'm having an issue with an array. I need a way to rewrite this: foreach($priorities as $key => $priority) { $priorities[$key]['tasks'] = $this->getTasks($priority['priorityid'], 'a', 0) + $this->getTasks($priority['priorityid'], 'b', 0); } Code (markup): Locally I have no problem populating the array with information from both functions in this statement, but on my development server it only runs through the first function call. Ideas? What am I missing?
I'm sure it has nothing to do with the function which you did not provide or the context or anything but that line.