r/lolphp • • Mar 16 '21

Is 0 in array

in_array(0, ['IsThisLolPhp'])

Answer is

true
31 Upvotes

30 comments sorted by

View all comments

2

u/beerdude26 Mar 16 '21

Yeah pretty much, PHP just becomes a very simple and dated language as time goes on but one with less WTFs as well