stackdriver_trace.c
/**
 * Given a class name and a function name, return a new string that represents
 * the function name. Note that this zend_string should be released when
 * finished.
 */
Given a class name and a function name, return a new string that represents
the function name. Note that this zend_string should be released when
finished.
Given a class name and a function name return a new string that represents the function name . Note that this zend_string should be released when finished .
static zend_string *stackdriver_trace_generate_class_name(
    zend_string *class_name, zend_string *function_name)
{
    int len = class_name->len + function_name->len + 2;
    zend_string *result = zend_string_alloc(len, 0);
    strcpy(ZSTR_VAL(result), class_name->val);
    strcat(ZSTR_VAL(result), "::");
    strcat(ZSTR_VAL(result), function_name->val);
    return result;
}
static zend_string * stackdriver_trace_generate_class_name ( zend_string * class_name , zend_string * function_name ) { int len = class_name -> len + function_name -> len + 2 ; zend_string * result = zend_string_alloc ( len , 0 ) ; strcpy ( ZSTR_VAL ( result ) , class_name -> val ) ; strcat ( ZSTR_VAL ( result ) , " " ) ; strcat ( ZSTR_VAL ( result ) , function_name -> val ) ; return result ; }
Given a class name and a function name, return a new string that represents
 the function name.
Given a class name and a function name return a new string that represents the function name .