Hi!

> However I feel like the fact that it only affects your app (even if
> you use a library relying on strictness) if you want to is not clear
> for everyone replying here. Is this point clear for you?

I was addressing the idea that every scalar type mention should be
strict. If it is a choice, I am more open to it, even though I think
declare is a very ugly way of doing it. I'd rather have foo(scalar $bar)
for traditional (coercive) scalar typing, and something like foo(scalar!
$bar) (you can bikeshed the syntax if you like) for strict typing. It is
immediately clear what each one does, does not conflict with PHP
tradition, and allows to freely choose and intermix strictness levels as
one's hear desires.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to