Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array and string offset access syntax with curly braces is no longer supported #45

Closed
gixxy22 opened this issue Sep 3, 2021 · 2 comments · Fixed by #52
Closed

Array and string offset access syntax with curly braces is no longer supported #45

gixxy22 opened this issue Sep 3, 2021 · 2 comments · Fixed by #52

Comments

@gixxy22
Copy link

gixxy22 commented Sep 3, 2021

in /vendor/topshelfcraft/wordsmith/src/libs/FullNameParser.phpat line 476

return ((mb_strlen($word) == 1) || (mb_strlen($word) == 2 && $word{1} == "."));

curly braces are no longer supported in PHP8

@gixxy22
Copy link
Author

gixxy22 commented Sep 3, 2021

theres a few other lines where curly braces are used in that file too.

@michaelrog
Copy link
Member

Thanks for bringing this up. Will get an 8.0-friendly update out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants