On Fri, 09 Mar 2012 03:58:52 +0100, Ilia Alshanetsky <i...@prohost.org> wrote:

My concern with this type of patch is that what you are proposing are
not really hints, they are forced casts. As such they modify the data
potentially leading to data loss.


Yes. Just like what happens with internal functions nowadays and this hasn't been particularly problematic.

That said, I think we could move to a mild BC breaking change for php-next that would make zpp stricter (with or without user-land scalar type hinting/coercion).

--
Gustavo Lopes

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

Reply via email to