Skip to content

[pull] master from php:master#171

Merged
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master
Aug 29, 2025
Merged

[pull] master from php:master#171
pull[bot] merged 2 commits into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Aug 29, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

TimWolla and others added 2 commits August 29, 2025 19:57
…19632)

* zend_portability: Add `ZEND_ATTRIBUTE_NODISCARD`

* zend_ast: Mark `zend_ast_list_add()` as `ZEND_ATTRIBUTE_NODISCARD`

This actually caught a bug in the implementation of attributes on regular
constants: A list of 4 constants with an attribute did not correctly result in
an error, since the reallocated list wasn't stored anywhere.

* zend_portability: Support C++ for `ZEND_ATTRIBUTE_NODISCARD`

Co-authored-by: David CARLIER <devnexen@gmail.com>

---------

Co-authored-by: David CARLIER <devnexen@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Aug 29, 2025
@pull pull Bot added the ⤵️ pull label Aug 29, 2025
@pull pull Bot merged commit 914f9ad into dolfly:master Aug 29, 2025
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant