[PHP] Update PHP keyword list
Add PHP keywords 'fn' (added in 7.4) and 'match' (added in 8.0) to the list SWIG knows to automatically rename.
This commit is contained in:
parent
c78325a82a
commit
76c2c4675b
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,10 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 4.1.0 (in progress)
|
||||
===========================
|
||||
|
||||
2021-03-26: olly
|
||||
[PHP] Add PHP keywords 'fn' (added in 7.4) and 'match' (added in
|
||||
8.0) to the list SWIG knows to automatically rename.
|
||||
|
||||
2021-03-23: wsfulton
|
||||
#1942 [Python] Fix compilation error in wrappers when using -builtin
|
||||
and wrapping varargs in constructors.
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ PHPKW(endwhile);
|
|||
PHPKW(extends);
|
||||
PHPKW(final);
|
||||
PHPKW(finally);
|
||||
PHPKW(fn); // as of PHP 7.4
|
||||
PHPKW(for);
|
||||
PHPKW(foreach);
|
||||
PHPKW(function);
|
||||
|
|
@ -65,6 +66,7 @@ PHPKW(implements);
|
|||
PHPKW(instanceof);
|
||||
PHPKW(insteadof);
|
||||
PHPKW(interface);
|
||||
PHPKW(match); // as of PHP 8.0
|
||||
PHPKW(namespace);
|
||||
PHPKW(new);
|
||||
PHPKW(or);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue