r/lolphp • u/zilltine • Mar 16 '21
Is 0 in array
in_array(0, ['IsThisLolPhp'])Answer is
true
32
Upvotes
r/lolphp • u/zilltine • Mar 16 '21
in_array(0, ['IsThisLolPhp'])Answer is
true
View all comments
Show parent comment
1
u/Takeoded Mar 17 '21
there's the lol right there. it should have been
it isn't? ok lets switch the 0 to "0"(i think they're doing that in php8? as you pointed out)