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

php 8 error: Compile Error: Array and string offset access syntax with curly braces is no longer supported #45

Open
ludi81 opened this issue Apr 26, 2021 · 1 comment

Comments

@ludi81
Copy link

ludi81 commented Apr 26, 2021

Hi,

I tried your library with api-platform 2.6.4 which uses php 8.

I needed to change the line 761 (util.php) from
( self::$SP1 == $rows[$i+1]{0} ))

to
( self::$SP1 == $rows[$i+1][0] ))

otherwise I received the error "Compile Error: Array and string offset access syntax with curly braces is no longer supported"

Are you planing to support php 8?
Thanks

@BorisMorel
Copy link
Owner

Maybe test with new release 2.0

Regards,
Boris.

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

No branches or pull requests

2 participants