IcalBundle icon indicating copy to clipboard operation
IcalBundle copied to clipboard

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

Open ludi81 opened this issue 3 years ago • 1 comments

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

ludi81 avatar Apr 26 '21 14:04 ludi81

Maybe test with new release 2.0

Regards, Boris.

BorisMorel avatar Jun 02 '21 18:06 BorisMorel