You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code uses curly brackets to access byte offsets of a string. PHP does not support curly brackets for this any more and instead requires square brackets. So for the code to work in PHP 8 and in older versions of PHP, just use square brackets.
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /metar-php-0.1.1/src/Message.php on line 88
The text was updated successfully, but these errors were encountered:
The code uses curly brackets to access byte offsets of a string. PHP does not support curly brackets for this any more and instead requires square brackets. So for the code to work in PHP 8 and in older versions of PHP, just use square brackets.
The text was updated successfully, but these errors were encountered: