Skip to content

Conversation

kocsismate
Copy link
Member

@kocsismate kocsismate commented Jul 19, 2022

@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation (https://github.com/php/php-src/pull/9043/files#diff-f4397c69dcf9f26a32970afd80fcf0ecabd726e7bc7bc1e7dfaaca48ddacf195R12), so naming it as @cvalue would be more appropriate.

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

The reasoning behind this PR is sound. I have verified that the _arginfo.h files only added/removed 1 line (implying there is no functional change).

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Makes sense. Thank you!

@kocsismate kocsismate merged commit e328c68 into php:master Jul 19, 2022
@kocsismate kocsismate deleted the cname-to-cvalue branch July 19, 2022 13:11
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.

3 participants