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 -1
--
http://www.kissofjudas.net/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
