Hey,

> This is a bug in the library. It declares strict mode but passes a value it
> does not know to be an integer to a method requiring an integer. It can
> be fixed by simply adding an int type declaration to the constructor or
> test method.

The second example is certainly a programmer error, but the first
example could be could considered design by intention to enforce
users to pass in the correct argument types.

>
> Thanks,
>
> Theodore

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

Reply via email to