]> git.lizzy.rs Git - micro.git/commit
PHP: Add enum and keyword, and modify types (#2204)
authorUSAMI Kenta <tadsan@zonu.me>
Sun, 17 Jul 2022 19:16:17 +0000 (04:16 +0900)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 19:16:17 +0000 (12:16 -0700)
commit37ed9dfe1eb06dff0c36c35e51ec80ed4351c861
tree378b6842a7493cd505063dc9b5244b9659f204e4
parent0ac7193c4ddc66e69af25018d982ed790377dddb
PHP: Add enum and keyword, and modify types (#2204)

* Add enum keyword to PHP (8.1) syntax

* Specify only keywords that are valid as type declarations as PHP types

boolean, integer and resource are not valid type name.

* Add match keyword to PHP (8.2) syntax
runtime/syntax/php.yaml