<?php class Foo { public function bar($a) { var_dump($a); } } $foo = new Foo(); $bar = array($foo, 'bar'); $bar(5);
You have javascript disabled. You will not be able to edit any code.