On Sun, 2008-01-06 at 15:41 -0300, Cristian Rodriguez wrote:
> 2008/1/4, Jani Taskinen <[EMAIL PROTECTED]>:
>
> > As I'm +1 for OPTIONAL scalar-type hinting.
>
> me too +1 as long as :
>
> <?php
>
> function foo(int $a) {}
>
> foo('5');
>
> ?>
>
> Raises an error, and is rejected because is not a valid integer, otherwise -1Agreed, this is the current behavior of the patch. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
