r/ProgrammerHumor • • Oct 22 '26

instanceof Trend itsBadIfItsOnlyPHP

Post image
4.5k Upvotes

335 comments sorted by

View all comments

Show parent comment

30

u/brainplot Oct 22 '26

This example doesn't make much sense because you could write this code in any language. It's not an inherent fault of the language itself but just bad programming.

2

u/YeetCompleet Oct 22 '26

I thought the point of the meme that any language can do this but now I'm realizing it's some PHP bug meme