Skip to content

Typed constants in SPL extension - #12358

Merged
Girgias merged 3 commits into
php:masterfrom
jorgsowa:typed-constants-in-spl-extension
Oct 7, 2023
Merged

Typed constants in SPL extension#12358
Girgias merged 3 commits into
php:masterfrom
jorgsowa:typed-constants-in-spl-extension

Conversation

@jorgsowa

@jorgsowa jorgsowa commented Oct 4, 2023

Copy link
Copy Markdown
Contributor

This PR adds typing to the class constants in SPL extension.

Comment thread ext/spl/spl_array.stub.php Outdated

@kocsismate kocsismate 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.

LGTM, I'd be curious about other reviewer's comments though

@Girgias

Girgias commented Oct 6, 2023

Copy link
Copy Markdown
Member

I'm also in favour, but this will require an entry in UPGRADING

@jorgsowa

jorgsowa commented Oct 6, 2023

Copy link
Copy Markdown
Contributor Author

@Girgias, added note to the UPGRADING file.

@Girgias
Girgias merged commit f075710 into php:master Oct 7, 2023
@jorgsowa
jorgsowa deleted the typed-constants-in-spl-extension branch July 10, 2026 14:30
adrian-enspired pushed a commit to adrian-enspired/php-src that referenced this pull request Aug 4, 2026
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