Skip to content

[Sync-En] get_defined_constants: note that magic constants are excluded - #1314

Merged
julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1294-get-defined-constants-magic
Sep 18, 2026
Merged

julionc merged 1 commit into
php:masterfrom
lacatoire:sync-en/1294-get-defined-constants-magic

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#3109 (commit df4b2be): the description now says that magic constants are not returned, since they are resolved at compile time. EN-Revision updated.

The refpurpose, which dropped part of the English meaning, is also fixed.

Fixes: #1294

@julionc
julionc merged commit 423489b into php:master Sep 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] get_defined_constants - warning about magic constants (#3109)

2 participants