Arvids Godjuks wrote: > So full syntax will be like this > function (integer) test(integer $value) { ... }
I guess you are right: int and integer seem to be aliase and both check for int *or* numeric strings, not the type int. It is also not clear if (string) accepts ints/floats which are often valid values. I think a table of which type hint accepts which values would be useful. And there also remains the issue with the keywords where I'd like to be enlightened :-) - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php