Skip to content

Review parameter names in ext/sysvmsg #6247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

kocsismate
Copy link
Member

No description provided.

function msg_receive(SysvMessageQueue $queue, int $desiredmsgtype, &$msgtype, int $maxsize, mixed &$message, bool $unserialize = true, int $flags = 0, &$errorcode = null): bool {}
function msg_receive(
SysvMessageQueue $queue,
int $expected_message_type,
Copy link
Member Author

Choose a reason for hiding this comment

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

Would something including "filter" or "watch" be any better?

Copy link
Member

Choose a reason for hiding this comment

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

I like the original $desired_message_type terminology :) Though $filter_message_type also seems reasonable.

Copy link
Member Author

@kocsismate kocsismate Oct 1, 2020

Choose a reason for hiding this comment

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

OK, I went with $desired_message_type. I don't like it too much (I wouldn't use the word "desire" in a professional context ^^ maybe it's just me...), but since I have no real better alternative, it'll be fine.

@php-pulls php-pulls closed this in ceef8ad Oct 1, 2020
@kocsismate kocsismate deleted the sysvmsg-name branch October 1, 2020 21:16
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