Re: That should be " ZE2 and NON static methods"

From: Date: Thu, 10 Jun 2004 02:05:37 +0000
Subject: Re: That should be " ZE2 and NON static methods"
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-10362@lists.php.net to get a copy of this message
Um, that's the type of thing that a quick test could tell you, isn't it? John On Wed, 2004-06-09 at 20:53, l0t3k wrote: > lets try again > in an OOP extension using methods <em>NOT</em> tagged as ZEND_ACC_STATIC, > does ZE2 > prevent them from being called statically or do i always need to do : > > if (!getThis()) { > ERROR("Cannot call this method statically"); > RETURN_FALSE; > } > > l0t3k -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbook http://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

« previous php.internals (#10362) next »