Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Potential Bug with array_map #13155

Discussion options

Hey, hope you are well.

I was surprised to find that the line 40 dump is array<mixed> instead of array{19|21, 19|21} (like it's line 32 dump counterpart).

I was going to report this as a bug, but I wasn't quite confident enough 😅 (and as such, a discussion felt more relevant?).

The equivalent appears to work when using objects instead of arrays, is this expected?

Incase it is relevant, my usecase doesn't actually concern the specifics of the 19|21 - just int would do.

Thanks!

You must be logged in to vote

Yeah, this is a bug, please open a bug report 😊

Replies: 1 comment

Comment options

Yeah, this is a bug, please open a bug report 😊

You must be logged in to vote
0 replies
Answer selected by liamduckett
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /