Skip to content

WIP: named arguments#317

Open
i582 wants to merge 2 commits intomasterfrom
pmakhnev/named_arguments
Open

WIP: named arguments#317
i582 wants to merge 2 commits intomasterfrom
pmakhnev/named_arguments

Conversation

@i582
Copy link
Contributor

@i582 i582 commented Sep 22, 2021

RFC: https://wiki.php.net/rfc/named_params

TODO

  • Rename arguments in functions.txt to match PHP names
  • Variadic functions and argument unpacking
  • func_get_args() and friends
  • call_user_func() and friends
  • __call()
  • Think about checks if the names of the arguments in the functions of the parent class and child class are different
interface I {
    public function test($foo, $bar);
}
 
class C implements I {
    public function test($a, $b) {}
}

#290

@i582 i582 added the PHP8 PHP8 feature label Sep 22, 2021
@Tsygankov-Slava Tsygankov-Slava mentioned this pull request Jul 3, 2023
44 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP8 PHP8 feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants