Skip to content

Replaced cury brackets with square#302

Closed
rav-redchamps wants to merge 1 commit intoconsolibyte:masterfrom
rav-redchamps:master
Closed

Replaced cury brackets with square#302
rav-redchamps wants to merge 1 commit intoconsolibyte:masterfrom
rav-redchamps:master

Conversation

@rav-redchamps
Copy link
Copy Markdown

This pull request is same as of #300 excluding the whitespace changes.


php 7.4 and php 8 have removed the ability to use curly braces to select a single character from a string.

Error is: Array and string offset access syntax with curly braces is deprecated at ....

The fix is to use square brackets. https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace

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

Successfully merging this pull request may close these issues.

1 participant