You must log in or register to comment.
PHP is so bad even PHP wants to
die()
.MS Developers: Kill all children
Well I didn’t wake up today expecting to watch a video about task manager, but here I am.
Now watching the Pinball video before going to bed.
Linux: kill
Also Linux: zombies, orphans
Daemons
php, the Dark Souls of the programming languages
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 " equivalent explode/implode" because it was so memorable
I love die()! but PHP has exit(), too, and it does the same thing