Skip to content

Array and string offset access syntax with curly braces is no longer supported in /var/www/html/AIO/PhpSerial.php on line 318 #37

@nc8q

Description

@nc8q

Reference:
"The reason is that with PHP 7.4 the array and string offset access syntax using curly braces is deprecated and it was removed entirely in PHP 8.0"

Quote:

I replaced $parity{0} with $parity[0] and
both return{0} with return[0] and
now there are no errors.

Regards, Chuck

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