this post was submitted on 25 Jun 2023
485 points (98.4% liked)
Programmer Humor
32710 readers
633 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
explode https://www.php.net/manual/en/function.explode.php
This is my favorite. I did php early in my career and for years I would have to Google " equivalent explode/implode" because it was so memorable
Filthy barbaric PHP developers. It's
Split()
andJoin()
.Even the php docs says it "splits" the string when it describes what it does.
It could be a good name for a function that turns a container or object into a lot of variables, but I don't remember php supporting multiple returned values.
I loved explode back when I frequently used PHP