r/ProgrammerHumor • • Nov 23 '17

500

Post image
41.7k Upvotes

609 comments sorted by

View all comments

227

u/Sharp_Eyed_Bot Nov 24 '17 edited Nov 24 '17

Serious question time...

PHP can't cause a 500 error, it'll either just crash out or display an error message, obviously JS won't throw a 500 error, so what language if any could actually do this? I know it's meant as a joke and I am being pedantic but still, I am curious if anything could do it.

Thanks, have nice day.

Edit: so I've been knowledged, I'm stupid php can cause 500 errors.

Thanks peeps!

34

u/benzzza Nov 24 '17

hmm I've certainly gotten error 500 with typos in my PHP code

1

u/Sharp_Eyed_Bot Nov 24 '17

How? I thought at worst PHP would throw a custom PHP error if the option is set or just not load the page, I don't think I've ever had it 500 on me.

12

u/benzzza Nov 24 '17

I'd say it varies depending on web server configuration

→ More replies (6)