Getting a class name from a property reference
<p>I was wondering if you could get the class name and property name from a property reference in PHP?</p>

<pre><code>class Test {
    public static $TestProp;
}
GetDoc(&amp; Test::$TestProp);
function GetDoc($prop) {
    $className = getClassName($prop);
    $propertyName = getPropertyName($prop);
}
</code></pre>

<p>what I'm looking for is if it is possible to create the functions getClassName and getPropertyName?</p>
