<?php $a = [ 'a' => [ 'b' => ['c', 'd'] ] ]; array_walk_recursive($a, function() use (& $totalTakeaways) { $totalTakeaways++; });
You have javascript disabled. You will not be able to edit any code.