Skip to content
Toggle navigation menu
Features
Design
Community
GitHub
Download
Welcome!
Log In
Create A New Profile
Home
>
Official Forums
>
Phorum Support
> Topic
Advanced
php 8.0 and mods/spamhurdles/api.php
Posted by
rickrich
Forum List
Message List
New Topic
rickrich
php 8.0 and mods/spamhurdles/api.php
December 22, 2020 10:00PM
Registered: 19 years ago
Posts: 12
php 8.0 and mods/spamhurdles/api.php gives me:
<b>Fatal error</b>: Array and string offset access syntax with curly braces is no longer supported in <b>/homepages/29/d89658545/htdocs/geo/forum/mods/spamhurdles/api.php</b> on line <b>694</b><br />
I went back to php 7.4 for the time being.
Reply
Quote
Scott Finegan
Re: php 8.0 and mods/spamhurdles/api.php
December 23, 2020 08:04AM
Admin
Registered: 20 years ago
Posts: 577
Change the curly braces to [ ]
[
www.php.net
]
[code="php"]
<?php
// Instead of:
$array{0};
$array{"key"};
// Write:
$array[0];
$array["key"];
?>
[/code]
Reply
Quote
Neustradamus
Re: php 8.0 and mods/spamhurdles/api.php
June 25, 2026 09:03AM
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.
Reply
Quote
Newer Topic
Older Topic
Print View
RSS
Sorry, only registered users may post in this forum.
Click here to login