Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Variable number of arguments to methods #14

@chriso

Description

@chriso

Some methods such as sUnion() take a variable number of arguments. It would be awesome to have a variant of each method which takes an array of arguments - i.e. something like sprintf vs. vsprintf.

Currently we have to call_user_func_array or do a switch on count($args) if we don't know the number of arguments in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions