Skip to content

Enact follow-up phase of the "Path to Saner Increment/Decrement operators" RFC - #19374

Merged
Girgias merged 2 commits into
php:masterfrom
Girgias:inc-dec-phase-2
Aug 23, 2025
Merged

Enact follow-up phase of the "Path to Saner Increment/Decrement operators" RFC#19374
Girgias merged 2 commits into
php:masterfrom
Girgias:inc-dec-phase-2

Conversation

@Girgias

Copy link
Copy Markdown
Member

@arnaud-lbarnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

Comment threadZend/zend_operators.c
Comment on lines +2568 to +2569
zval_ptr_dtor(str);
ZVAL_STR(str, zstr);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggest to re-add the comment /* A userland error handler can change the type from string to something else */ here to remind why we are doing this

@edorianedorian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

RM approval. No technical review performed.

@Girgias
Girgias merged commit 93716be into php:masterAug 23, 2025
9 checks passed
@Girgias
Girgias deleted the inc-dec-phase-2 branch August 23, 2025 13:36
Sign up for freeto 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.

4 participants

@Girgias@edorian@arnaud-lb@DanielEScherzer