Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Nov 7, 2025

Commits should be reviewed individually.

@Girgias Girgias marked this pull request as ready for review November 7, 2025 03:05
@Girgias Girgias requested a review from ndossche November 7, 2025 03:05
RETURN_STRING(resource_type);
} else {
RETURN_STRING("Unknown");
RETURN_STR(ZSTR_KNOWN(ZEND_STR_UNKNOWN_CAPITALIZED));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could even use RETURN_INTERNED_STR

_zend_hash_append_ex(stack_frame, ZSTR_KNOWN(ZEND_STR_FUNCTION), &tmp, 1);
/* Steal file and line from the previous frame. */
if (call->func && ZEND_USER_CODE(call->func->common.type)) {
uint32_t lineno;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're shadowing here, you don't need this declaration

zend_hash_real_init_mixed(stack_frame);

if (prev && prev->func && ZEND_USER_CODE(prev->func->common.type)) {
uint32_t lineno;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're shadowing here, you don't need this declaration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants