Hacker News new | ask | show | jobs
by dreistdreist 3534 days ago
You do realize that they do throw Exceptions?

Welcome to PHP 7

1 comments

You're right, if you enforce it via set_error_handler they do, otherwise they don't. Congratulation for PHP team, they are slowly getting on par with methodology invented in 60's. Any plans for having usable exception hierarchy like every other OOP language with exceptions so that you can actually make some use of them?