|
Phorum code should be fixed for newer versions of PHP October 14, 2024 03:15AM |
Registered: 24 years ago Posts: 156 |
Today I ran into an error which says "Array and string offset access syntax with curly braces is deprecated".
I had to fix at least /include/upload_functions.php, line 107 from
[code="php"]$last = strtolower($val{strlen($val)-1});[/code]
to
[code="php"]$last = strtolower($val[strlen($val)-1]);[/code]
I guess there's much more in the code to be fixed for newer PHP releases.
Regards, Ulf Dunkel
I had to fix at least /include/upload_functions.php, line 107 from
[code="php"]$last = strtolower($val{strlen($val)-1});[/code]
to
[code="php"]$last = strtolower($val[strlen($val)-1]);[/code]
I guess there's much more in the code to be fixed for newer PHP releases.
Regards, Ulf Dunkel
|
Re: Phorum code should be fixed for newer versions of PHP June 25, 2026 08:47AM |
Registered: 19 years ago Posts: 28 |
Dear all,
Can you help on GitHub?
I have created a new ticket to have a new team, to have PHP support improvements, etc.:
- [github.com]
There are two PRs:
- [github.com]
- [github.com]
captcha in GitHub tickets:
- [github.com]
Thanks in advance.
Can you help on GitHub?
I have created a new ticket to have a new team, to have PHP support improvements, etc.:
- [github.com]
There are two PRs:
- [github.com]
- [github.com]
captcha in GitHub tickets:
- [github.com]
Thanks in advance.
Sorry, only registered users may post in this forum.