-
-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Description
@oscarotero: Embed doesn't seem to be compatible with PHP8:
Parse error: syntax error, unexpected token "match", expecting "(" in [...]/vendor/embed/embed/src/functions.php on line 119
Edit: match is a reserved keyword in PHP8.x for match expressions, hence the parse error. When the match function is renamed to something else, e.g. match2, the file parses without errors.
PR ready: #394
Note: Travis CI appears to support PHP 8 now, it may be a nice idea to add PHP 8 to .travis.yml so embed is automatically tested on it.
Metadata
Metadata
Assignees
Labels
No labels