News for hackers. Stuff that matters.
Re:What PHP 5.5 might look like by giulianob on Thursday July 12, 2012 @09:21AM (#4234342)
The "parameter skipping" functionality is really useful but IMO they should take the same route that C# did with named parameters.

    function create_query($where, $order_by, $join_type='', $execute = false, $report_errors = true) { ... }

    create_query("deleted=0", "name", report_errors: true);
can even specify all parameters by name in different order

    create_query(order_by: "name", report_errors: true, where: "deleted=0");

There are no comments on this comment yet.