Hello everyone, I'd like to change the default mode of assertion failures to throw. The current default is to warn. In my opinion this is a bad strategy: the engine asserted that something that is expected to be true is not, so executing further is a bad idea. This leaves throwing or bailing out. I think throwing an exception is better than bailing out, so that's what I propose.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php