Skip to content

Conversation

MorganLOCode
Copy link

With the removal of E_STRICT, there is now only one error level that PHP ignores by default. This means the text following "all errors, notices and warnings EXCEPT those related to E_NOTICE..." should be in the singular rather than the plural. I noticed too that the following sentence also said "recommend" instead of "recommended".

Comment on lines 444 to +449
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
; those related to E_NOTICE, which together cover best practices and
; recommended coding standards in PHP. For performance reasons, this is the
; recommend error reporting setting. Your production server shouldn't be wasting
; resources complaining about best practices and coding standards. That's what
; development servers and development settings are for.
; those related to E_NOTICE, which covers best practices and recommended coding
; standards in PHP. For performance reasons, this is the recommended error
; reporting setting. Your production server shouldn't be wasting resources
; complaining about best practices and coding standards. That's what develoment
; servers and development settings are for.
Copy link
Member

Choose a reason for hiding this comment

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

I'm not even sure that is the case any more, pretty sure since 8.0.0 it is all errors including E_NOTICE that are emitted.

@MorganLOCode MorganLOCode closed this by deleting the head repository Dec 1, 2024
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