Skip to content

Remove second parameter incorrect nullable#1728

Merged
LolGleb merged 1 commit intoJetBrains:masterfrom
AntoineDly:master
Apr 22, 2025
Merged

Remove second parameter incorrect nullable#1728
LolGleb merged 1 commit intoJetBrains:masterfrom
AntoineDly:master

Conversation

@AntoineDly
Copy link
Copy Markdown
Contributor

Linked to this issue : WI-80919

As we can see in this pull request, PHP doesn't tolerate null as an array in implode/join functions : php/php-src#12683

@LolGleb LolGleb merged commit 7f6282a into JetBrains:master Apr 22, 2025
@LolGleb
Copy link
Copy Markdown
Contributor

LolGleb commented Apr 22, 2025

Sorry, I made a mistake when I merged this PR. I checked what reflection returns and what is in the PHP source code. It turns out that $array is indeed an optional parameter and its default value is null.

Reverted it here #1736

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.

2 participants