-
Notifications
You must be signed in to change notification settings - Fork 7.9k
add explanatory comments to _zend_op #7522
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
Conversation
I question the explanatory powers of such comments: I'm not really for making these kinds of changes, I'd rather look at a clean typedef. |
Then do it, because I do not feel confident enough to make these kind of changed in the very hearth of PHP. But for me, as a some rando, PHP code is by its total lack of any meaningful documentation utterly incomprehensible and anything, literally any faint glimmer of guiding light like this saying what values a variable can take and what it means, would be greatly appreciated. |
If we added these kinds of comments everywhere, we would still not have meaningful documentation, there would just be comments everywhere and it would make the actual code harder to read. |
This looks fairly harmless to me. I don't think we can use typedefs here, because we need precisely controlled layout, and C does not have |
I wasn't suggesting we use typedefs, I was referring to the fact that structs and typedefs are easier to read when they are not littered with comments. I still don't see the point in this kind of change. |
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
Closes phpGH-7522 Signed-off-by: George Peter Banyard <[email protected]>
No description provided.