"Daniel J Cain Jr ." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

>
> $instance = B::foo();
> ?>
>
> output is "A::foo".
>
> Is this correct?  I would expect (want maybe :) ) to see output as
> "B::foo".
this is as designed. __METHOD__ is a compile-time evaluated token, not a
runtime evaluated function.

l0t3k

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

Reply via email to