summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-03-16 10:14:57 +0000
committerMarcus Boerger <helly@php.net>2004-03-16 10:14:57 +0000
commit09e76476eff44df478ce287648cb80ad5bbfa7fc (patch)
tree6f770bb0875506498d10354c0732d75debec18d2 /main
parent3b2f56275a1218085456b606b4190e048599b625 (diff)
downloadphp-git-09e76476eff44df478ce287648cb80ad5bbfa7fc.tar.gz
Improve error message
Diffstat (limited to 'main')
-rw-r--r--main/main.c28
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 */