diff options
| author | Andi Gutmans <andi@php.net> | 1999-05-31 18:33:12 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 1999-05-31 18:33:12 +0000 |
| commit | 52ec64359c551b219b136430f448a3d5d91256c1 (patch) | |
| tree | 16cced073f4a6da0e630d09c96fcc6a6c761f3ee /Zend/zend_execute_API.c | |
| parent | f153896de578102c0d2aa6c3c60ad066b056af76 (diff) | |
| download | php-git-52ec64359c551b219b136430f448a3d5d91256c1.tar.gz | |
Fixes
Diffstat (limited to 'Zend/zend_execute_API.c')
| -rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index d934225bfd..1589efdb19 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -142,8 +142,10 @@ void shutdown_executor(ELS_D) } -ZEND_API char *get_active_function_name(ELS_D) +ZEND_API char *get_active_function_name() { + ELS_FETCH(); + switch(EG(function_state_ptr)->function->type) { case ZEND_USER_FUNCTION: { char *function_name = ((zend_op_array *) EG(function_state_ptr)->function)->function_name; |
