Skip to content

Variadics passed by reference #332

@bkdotcom

Description

@bkdotcom

#310 mostly fixed the issue with variadics...

still an issue when passing by reference

expected 1 space between comma and argument "$moreParams"; 0 found

/**
 * Variadic passed by reference
 *    https://wiki.php.net/rfc/variadics#by-reference_capture
 */
function methodProtected($param, &...$moreParams) {
}

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