Skip to content

Conversation

@ju1ius
Copy link
Contributor

@ju1ius ju1ius commented Jan 10, 2024

Closes #13102

@ju1ius ju1ius requested a review from dstogov as a code owner January 10, 2024 13:34
@dstogov dstogov requested review from iluuu1994 and removed request for dstogov January 10, 2024 14:07
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

LGTM

@kocsismate kocsismate merged commit 513224c into php:master Jan 22, 2024
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

Sorry for the late comment.


static zend_always_inline void zend_normalize_internal_type(zend_type *type) {
ZEND_ASSERT(!ZEND_TYPE_HAS_LITERAL_NAME(*type));
if (ZEND_TYPE_PURE_MASK(*type) != MAY_BE_ANY) {
Copy link
Member

Choose a reason for hiding this comment

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

In light of #13159 (review), this should probably be wrapped in #if DEBUG.

Copy link
Member

Choose a reason for hiding this comment

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

I mean, it's not super important. The other assert is potentially subject to the same. So I guess this is fine.

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.

segfault in ReflectionNamedType::getName()

4 participants