<?php class X { public function filter($n = null) { return new X; } } $a = new X; $b = $a->filter(); $f = function(){}; $c = $a->filter($f); var_dump($a, $b, $c, $f);
You have javascript disabled. You will not be able to edit any code.