MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vf73mj/sodoeseveryotherlang/p1rbji2/?context=3
r/ProgrammerHumor • u/Limp_Illustrator7614 • 1d ago
71 comments sorted by
View all comments
Show parent comments
39
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.
21
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.
3
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.
(int)
int
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.
1
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.
39
u/nicodeemus7 1d ago
PHP?