mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
use correct shift and fix slowlog bt in 7.1
This commit is contained in:
parent
5589df128c
commit
9d7054693e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user