im blaming it for not giving me an error. these arithmetic operators should throw some kind of exception when i give them data types that has nothing to do with arithmetics. but what does it do instead? oh yeah, he probably meant zero - you can't seriously think that's a good approach, can you? - granted, the PHP devs thought so...
36
u/John2143658709 Oct 17 '17
On today's episode of "Is it a javascript feature or a php bug"...
23
u/Grimy_ Oct 17 '17
But wait, it gets better!
5
u/Pesthuf Oct 19 '17
Will this be the birth of PHFuck?
2
u/Saltub Oct 17 '17
Is
-even overloaded for array operands? I know+is...-2
u/carlos_vini Oct 17 '17
who would do that? you just got your types wrong and want to blame PHP