diff --git a/README.md b/README.md index 49177e36..fa323090 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This version supports PHP7 - 7.2 - 7.3 - 7.4 -- nightly +- 8.0beta2 # Installation ``` diff --git a/extension/xhprof.c b/extension/xhprof.c index b8ab3624..3cdca85b 100755 --- a/extension/xhprof.c +++ b/extension/xhprof.c @@ -1521,7 +1521,8 @@ zend_string *hp_trace_callback_curl_exec(zend_string *symbol, zend_execute_data #else if (arg == NULL || Z_TYPE_P(arg) != IS_OBJECT) { #endif - return symbol; + result = strpprintf(0, "%s", ZSTR_VAL(symbol)); + return result; } zval params[1]; @@ -1555,6 +1556,7 @@ zend_string *hp_trace_callback_curl_exec(zend_string *symbol, zend_execute_data zval_ptr_dtor(&func); zval_ptr_dtor(&retval); + zval_ptr_dtor(¶ms); return result; }