mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
use correct shift and fix slowlog bt in 7.1
This commit is contained in:
@@ -101,9 +101,9 @@ static int fpm_php_trace_dump(struct fpm_child_s *child, FILE *slowlog) /* {{{ *
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (ZEND_CALL_KIND_EX((*call_info) >> 24) == ZEND_CALL_TOP_CODE) {
|
||||
if (ZEND_CALL_KIND_EX((*call_info) >> ZEND_CALL_INFO_SHIFT) == ZEND_CALL_TOP_CODE) {
|
||||
return 0;
|
||||
} else if (ZEND_CALL_KIND_EX(*(call_info) >> 24) == ZEND_CALL_NESTED_CODE) {
|
||||
} else if (ZEND_CALL_KIND_EX(*(call_info) >> ZEND_CALL_INFO_SHIFT) == ZEND_CALL_NESTED_CODE) {
|
||||
memcpy(buf, "[INCLUDE_OR_EVAL]", sizeof("[INCLUDE_OR_EVAL]"));
|
||||
} else {
|
||||
ZEND_ASSERT(0);
|
||||
|
||||
Reference in New Issue
Block a user