<?php class Something { public function test() { $arr = [1,2,3,4,5]; array_walk($arr, array($this, 'lol')); } protected function lol() {} } $some = new Something; $some->test();
You have javascript disabled. You will not be able to edit any code.