We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a46a5d commit 956dd9fCopy full SHA for 956dd9f
agent/php_user_instrument.c
@@ -284,7 +284,9 @@ static void nr_php_wrap_user_function_internal(nruserfn_t* wraprec TSRMLS_DC) {
284
/* It could be in a file not yet loaded, no reason to log anything. */
285
return;
286
}
287
+#if ZEND_MODULE_API_NO >= ZEND_8_2_X_API_NO
288
wraprec->func = orig_func;
289
+#endif
290
291
if (ZEND_USER_FUNCTION != orig_func->type) {
292
nrl_verbosedebug(NRL_INSTRUMENT, "%s%s%s is not a user function",
0 commit comments