Skip to content

Remove second parameter incorrect nullable #1728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025

Conversation

AntoineDly
Copy link
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
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