Skip to content

Undefined constant throws an error instead of E_NOTICE#4828

Merged
Crell merged 1 commit into
php:masterfrom
takaram:array-undefined-const-notice
Oct 3, 2025
Merged

Undefined constant throws an error instead of E_NOTICE#4828
Crell merged 1 commit into
php:masterfrom
takaram:array-undefined-const-notice

Conversation

@takaram
Copy link
Copy Markdown
Contributor

@takaram takaram commented Aug 13, 2025

Undefined constant throws E_WARNING since PHP 7.2 and Error since PHP 8.0.

Some lines were fixed in e587d06 but there remained some lines not fixed.

@Crell
Copy link
Copy Markdown
Contributor

Crell commented Oct 3, 2025

Thanks!

@Crell Crell merged commit 094816b into php:master Oct 3, 2025
2 checks passed
@takaram takaram deleted the array-undefined-const-notice branch October 4, 2025 06:54
Crell pushed a commit to Crell/doc-en that referenced this pull request Dec 15, 2025
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.

2 participants