-
-
Notifications
You must be signed in to change notification settings - Fork 647
Open
Description
I'm running PHP 8.4.12 and have run into an issue where running code autoloading phpdotenv produces the following error:
Parse error: syntax error, unexpected token "return" in [redacted working dir]/dist/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php on line 215
I'm not sure if this is a version compat thing or some kind of environment setting issue or what, but I felt like it'd be worth reporting in case anyone else runs into the same issue. Looking at the code it seems perfectly normal to me, so I'm not sure what could be up.
I've gotten this error on:
- PHP dev server (
php -S localhost:8000
), MacOS Tahoe - Debian 13 VPS running PHP8.4-FPM and Caddy
Metadata
Metadata
Assignees
Labels
No labels