On Sat, 2009-04-04 at 07:34 +0200, Roman Borschel wrote:
> Thanks for your answer. Yes, this works, but here $f is an instance of  
> Foo, not Bar. When you make it an instance of Bar you get NULL. I  
> think this is not correct, is it?
> Given that we have a ReflectionProperty of class Foo at hand, from my  
> understanding it should look at an instance of Bar as a Foo and return  
> the value. Am I missing something?

Damn, you're right, was too late yesterday evening for me :-)

This really looks like a bug in this feature.

johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to