diff options
Diffstat (limited to 'main')
| -rw-r--r-- | main/main.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/main.c b/main/main.c index 83c8633c69..680a7b4922 100644 --- a/main/main.c +++ b/main/main.c @@ -424,34 +424,6 @@ static int php_during_module_shutdown() } /* }}} */ -/* {{{ get_active_class_name */ -static char *get_active_class_name(char **space TSRMLS_DC) -{ - if (!zend_is_executing(TSRMLS_C)) { - if (space) { - *space = ""; - } - return ""; - } - switch (EG(function_state_ptr)->function->type) { - case ZEND_USER_FUNCTION: - case ZEND_INTERNAL_FUNCTION: - { - zend_class_entry *ce = EG(function_state_ptr)->function->common.scope; - - if (space) { - *space = ce ? "::" : ""; - } - return ce ? ce->name : ""; - } - default: - if (space) { - *space = ""; - } - return ""; - } -} -/* }}} */ /* }}} */ /* {{{ php_verror */ |
