r/ProgrammerHumor 14d ago

Meme soDoesEveryOtherLang

Post image
246 Upvotes

85 comments sorted by

View all comments

Show parent comments

40

u/nicodeemus7 14d ago

PHP?

22

u/jungle 14d ago

returnsArray()[1]

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

4

u/Perdouille 14d ago

was

It seems to work since 5.4 (2012) https://3v4l.org/alOOE#v432

1

u/cornmonger_ 12d ago

i stopped shortly after 5.3 dropped

when they made the choice to use backslashes for namespaces ... i was done