Re: getThis and static methods

From: Date: Thu, 31 Jan 2008 10:34:05 +0000
Subject: Re: getThis and static methods
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5094@lists.php.net to get a copy of this message
Antony Dovgal <tony@daylessday.org> wrote: Hi! Thanks for reply :) > http://news.php.net/php.internals/35031 > http://news.php.net/php.internals/35032 > ? Yes, this is what I mean. When $b->bar(); is executed I need to know if A::foo is called statically for A instance. Not for *any* instance. Basically I should check this class pointer, right? Any API hint to fetch parent or base class from class or object pointer? Piotras

« previous php.pecl.dev (#5094) next »