Skip to content

Conversation

gartner
Copy link
Contributor

@gartner gartner commented Apr 9, 2023

In php 8 the separator needs to be the first argument to implode() - in php 7 and earlier, it could be both first and last.

In php 8 the separator needs to be the first argument to implode() - in php 7 and earlier, it could be both first and last.
@lantos1618
Copy link

yeah this commit looks right
https://www.php.net/manual/en/function.implode.php

implode(array $array, string $separator): string // Legacy signature (deprecated as of PHP 7.4.0, removed as of PHP 8.0.0):

is now
implode(string $separator, array $array): string

Copy link
Member

@julienschmidt julienschmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@julienschmidt julienschmidt merged commit fb5f538 into sumup:master Oct 14, 2025
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.

3 participants