<?php class Foo { function bar() {} } $foo = new Foo(); $arr = array('1', '2', '3'); uasort($arr, function($a, $b) use ($foo) { return $a - $b; });
You have javascript disabled. You will not be able to edit any code.