]> granicus.if.org Git - php/commit
Implement arrow functions
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 2 May 2019 12:57:16 +0000 (14:57 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 2 May 2019 13:04:03 +0000 (15:04 +0200)
commitf3e5bbe6f37ce52a9ecd42812389e6aaf3aa2892
tree4d7baab746e966624ee4557c2153e5099cbbcbd3
parenteaab0a2b6f6f61bc0b8c42579a74a626b179a070
Implement arrow functions

Per RFC: https://wiki.php.net/rfc/arrow_functions_v2

Co-authored-by: Levi Morrison <levim@php.net>
Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
27 files changed:
UPGRADING
Zend/tests/arg_unpack/many_args.phpt
Zend/tests/arrow_functions/001.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/002.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/003.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/004.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/005.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/006.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/007.phpt [new file with mode: 0644]
Zend/tests/arrow_functions/008.phpt [new file with mode: 0644]
Zend/tests/generators/bug65035.phpt
Zend/tests/grammar/semi_reserved_001.phpt
Zend/tests/grammar/semi_reserved_002.phpt
Zend/tests/grammar/semi_reserved_003.phpt
Zend/tests/grammar/semi_reserved_004.phpt
Zend/tests/grammar/semi_reserved_005.phpt
Zend/tests/this_as_lexical_var_error.phpt
Zend/tests/variadic/optional_params.phpt
Zend/zend_ast.c
Zend/zend_ast.h
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_language_parser.y
Zend/zend_language_scanner.l
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/tokenizer/tokenizer_data.c