You must log in or register to comment.
php, the Dark Souls of the programming languages
PHP is so bad even PHP wants to
die()
.Fun fact: there’s a shorter way to throw a NullPointerException:
throw null;
Because
throw
throws a NPE if the parameter is nullThis 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
MS Developers: Kill all children
Well I didn’t wake up today expecting to watch a video about task manager, but here I am.
Linux: kill
Also Linux: zombies, orphans
I love die()! but PHP has exit(), too, and it does the same thing