|
|
|
@ -87,8 +87,13 @@ void zend_throw_exception_internal(zval *exception TSRMLS_DC) /* {{{ */ |
|
|
|
if (DTRACE_EXCEPTION_THROWN_ENABLED()) { |
|
|
|
char *classname; |
|
|
|
int name_len; |
|
|
|
zend_get_object_classname(exception, &classname, &name_len); |
|
|
|
DTRACE_EXCEPTION_THROWN(classname); |
|
|
|
|
|
|
|
if (exception != NULL) { |
|
|
|
zend_get_object_classname(exception, &classname, &name_len); |
|
|
|
DTRACE_EXCEPTION_THROWN(classname); |
|
|
|
} else { |
|
|
|
DTRACE_EXCEPTION_THROWN(NULL); |
|
|
|
} |
|
|
|
} |
|
|
|
#endif /* HAVE_DTRACE */ |
|
|
|
|
|
|
|
|