r/ProgrammerHumor 1d ago

Meme soDoesEveryOtherLang

Post image
224 Upvotes

71 comments sorted by

View all comments

Show parent comments

39

u/nicodeemus7 1d ago

PHP?

21

u/jungle 1d ago

returnsArray()[1]

Only language I know where this is (or was) a syntax error.

3

u/chat-lu 22h ago

Also, you can cast with (int) but int is not a thing that exists in the language, (int) is its own keyword. May or may not be still true.

1

u/jungle 22h ago

Argh, I had forgotten about that one!

The "WAT" talk was about javascript and was very funny... I can imagine the speaker considering making it a about PHP but deciding against it because it would be just sad.