phat code When all else fails, read the instructions.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Plasma Wed Jun 5 2024 at 7:27 am
yes
 
 
The issue is that string offsets must now use brackets instead of braces:
https://wiki.php.net/rfc/deprecate_curly_braces_array_access

I will put up an updated version eventually. In the meantime, you can just search and replace the following:

$text{$offset}
$text{$offset+1}
$text{$offset-1}
$text{$start}
$text{$end}
$text{$real_start}
$text{$real_end}
$text{$offset+strlen($domain)}
$unicode{$offset}

with:

$text[$offset]
$text[$offset+1]
$text[$offset-1]
$text[$start]
$text[$end]
$text[$real_start]
$text[$real_end]
$text[$offset+strlen($domain)]
$unicode[$offset]

 
 
  • flatforum - d00d (Mon Jun 3 2024 at 4:28 pm)
    • yes - Plasma (Wed Jun 5 2024 at 7:27 am)
      • re:yes - d00d (Wed Jun 5 2024 at 7:25 pm)
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.