On Mon, Apr 24, 2017 at 4:09 PM, Stanislav Malyshev <smalys...@gmail.com> wrote: > it's clearly > business logic. Which I have no problem with, but it shouldn't be part > of type system then. > We're certainly arguing semantics at this point. Let's agree that type enforcement is a good thing (which you seemed to say in your first response) and move on to how that's implemented.
Why shouldn't we allow the same call-time decision making around strict/weak enforcement to apply to "business logic" type enforcement as it does to argument types? Surely consistency is a good thing as well? -Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php