Skip to content

[FunctionProxy] Invalid handling of variable number of arguments #170

@lisachenko

Description

@lisachenko

For PHP5.6 internal metadata was updated to use variadics. Framework is not able to detect this functions correctly, need to update the proxy generator for detection of variadics:

$ ./php/php-5.5.10-nts-Win32-VC11-x86/php --rf array_push
Function [ <internal:standard> function array_push ] {

  - Parameters [3] {
    Parameter #0 [ <required> &$stack ]
    Parameter #1 [ <required> $var ]
    Parameter #2 [ <optional> $... ]
  }
}

$ ./php/php-5.6.0-nts-Win32-VC11-x86/php --rf array_push
Function [ <internal:standard> function array_push ] {

  - Parameters [2] {
    Parameter #0 [ <required> &$stack ]
    Parameter #1 [ <required> ...$vars ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions