ZE2 and static methods
| From: | l0t3k | Date: | Thu, 10 Jun 2004 00:50:08 +0000 |
| Subject: | ZE2 and static methods | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10359@lists.php.net to get a copy of this message | ||
in an OOP extension using methods 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