You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you just check what is the resulting type if you have a array{0: int, 1: bool, 2: string}<int<3, max>, mixed> for $var and you do a $var[] = 'a'?
Could you just check what is the resulting type if you have a
array{0: int, 1: bool, 2: string}<int<3, max>, mixed>
for $var and you do a$var[] = 'a'
?Originally posted by @orklah in #8050 (comment)
It becomes
non-empty-list<bool|int|mixed|string>
, which seems a bit unfortunate since that's strictly less specific than the previous type...The text was updated successfully, but these errors were encountered: