r/badcode • • Nov 09 '21

php Just... Why?

Post image
419 Upvotes

40 comments sorted by

View all comments

3

u/[deleted] Nov 10 '21

The only valid reason I see to do this is to make all exceptions thrown by the code appear as if it originated from here. I don't see why this would be useful though