[PHP8] Calling implode() as implode(array $array, string $separator): string is deprecated in PHP 7.4 and removed in PHP 8.0

Created on 3 February 2023, almost 2 years ago
Updated 1 July 2023, over 1 year ago

The legacy signature for implode() (implode(array $array, string $separator): string) is deprecated in PHP 7.4 and removed in PHP 8.0.
Code like the following needs to be changed to pass first the $separator argument and then the $array argument.

return empty($output) ? '' : '<strong>' . implode($output, ', ') . '</strong>';
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany meyerrob

Live updates comments and jobs are added and updated live.
  • PHP 7.4

    The issue particularly affects sites running on PHP version 7.4.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024