<?php class A { public function x($i) { return $i; } public function abc() { return array_map(function($i) { return $this->x($i); }, [1,2,3]); } } $a = new A(); var_dump($a->abc());
You have javascript disabled. You will not be able to edit any code.