function myfunc()
{
var_dump(func_get_args());
}
myfunc(1, 2, 3, 4);
myfunc(1, 2, 4);
myfunc(1, 5, 6, 7, 8, 9);
myfunc(1, 2, NULL, 4);
uasort($Array, function($first, $second) {
if ($first->p == $second->p) {
return 0;
}
return ($first->p < $second->p) ? 1 : -1;
});