>> Hi, I would love this feature. >> But I have some concerns. >> AFAIK you can declare classes with the name int ,scalar, etc. so >> hinting anything else than class names can be ambiguous. >> Or we have to set these keywords as reserved, so nobody could declare >> classes with such names. > > Weren't they already made reserved with the parameter type hinting patch? >
As I said: > Maybe this was resolved with the last scalar type hinting patch, which > got merged to the trunk, I don't know. Tyrael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php