0, 3 => true, 4 => true); var_dump($args); } } $obj = new A; $obj->foo(1, 2, 3);