version 1.1.1.3, 2013/07/22 01:32:15
|
version 1.1.1.4, 2013/10/14 08:02:48
|
Line 85 void zend_throw_exception_internal(zval *exception TSR
|
Line 85 void zend_throw_exception_internal(zval *exception TSR
|
{ |
{ |
#ifdef HAVE_DTRACE |
#ifdef HAVE_DTRACE |
if (DTRACE_EXCEPTION_THROWN_ENABLED()) { |
if (DTRACE_EXCEPTION_THROWN_ENABLED()) { |
char *classname; | const char *classname; |
int name_len; | zend_uint name_len; |
|
|
if (exception != NULL) { |
if (exception != NULL) { |
zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC); |
zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC); |
DTRACE_EXCEPTION_THROWN(classname); | DTRACE_EXCEPTION_THROWN((char *)classname); |
} else { |
} else { |
DTRACE_EXCEPTION_THROWN(NULL); |
DTRACE_EXCEPTION_THROWN(NULL); |
} |
} |