Skip to content

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

@ludi81

Description

@ludi81

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions