note 102389 rejected from class.reflectionparameter by danbrown

[email protected] Fri, 11 Feb 2011 06:52:09 -0800
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: rishad at kaluma dot com 

----

How can I get the type hint of a parameter?

For example:

function func(MyClass $m)
{
}

Then type hint of parameter $m should be MyClass.