Personally I prefer throw new nullpointerexception
throw new nullpointerexception
You're viewing a single thread.
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 "<lang> equivalent explode/implode" because it was so memorable
Filthy barbaric PHP developers. It's Split() and Join().
Split()
Join()
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