stackdriver_trace.c
/* Prepend the name of the scope class to the function name */
Prepend the name of the scope class to the function name
Prepend the name of the scope class to the function name
static zend_string *stackdriver_trace_add_scope_name(zend_string *function_name,
                                                     zend_class_entry *scope)
{
    zend_string *result;
    if (!function_name) {
        return NULL;
    }
    if (scope) {
        result = stackdriver_trace_generate_class_name(scope->name,
                                                       function_name);
    } else {
        result = zend_string_copy(function_name);
    }
    return result;
}
static zend_string * stackdriver_trace_add_scope_name ( zend_string * function_name , zend_class_entry * scope ) { zend_string * result ; if ( ! function_name ) { return NULL ; } if ( scope ) { result = stackdriver_trace_generate_class_name ( scope -> name , function_name ) ; } else { result = zend_string_copy ( function_name ) ; } return result ; }
Prepend the name of the scope class to the function name
Prepend the name of the scope class to the function name