Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Feature: Variadics #50

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Feature: Variadics #50

wants to merge 10 commits into from

Conversation

thekid
Copy link
Contributor

@thekid thekid commented Sep 20, 2015

This pull request implements variadic parameter syntax (#49) and argument unpacking (#48) in both PHP and XP.

  • InstanceCreationNode - new T(...$args)
  • DynamicInstanceCreationNode - new $T(...$args)
  • StaticMethodCallNode - T::method(...$args)
  • InvocationNode - func(...$args)
  • MethodCallNode - $object.method(...$args)
  • MethodCallNode in navigation context - $object?.method(...$args)
  • InstanceCallNode - $invokable(...$args)
  • InstanceCallNode in navigation context - $invokable?(...$args)

_:warning: Work in progress_

@thekid thekid added the php label Sep 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant