New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage E_DEPRECATED #27
Conversation
raised with 8.3 in pear.php
tests/db_error2.phpt
Outdated
if (defined('E_DEPRECATED')) { | ||
if ($errno & E_DEPRECATED | ||
&& (error_reporting() & E_DEPRECATED) != E_DEPRECATED) { | ||
// Ignore E_STRICT notices unless they have been turned on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy/paste error: E_DEPRECATED
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What error? They all look spelled correct to me... ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Ignore E_STRICT notices unless they have been turned on
^^^^^^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see now... I had interpreted E_DEPRECATED
as a subset of E_STRICT
just looking at the small diff context around this change, but now I can see there is a similar condition block for E_STRICT
itself.
@remicollet , could up correct this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
tests/db_error2.phpt
Outdated
if (defined('E_DEPRECATED')) { | ||
if ($errno & E_DEPRECATED | ||
&& (error_reporting() & E_DEPRECATED) != E_DEPRECATED) { | ||
// Ignore E_STRICT notices unless they have been turned on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see now... I had interpreted E_DEPRECATED
as a subset of E_STRICT
just looking at the small diff context around this change, but now I can see there is a similar condition block for E_STRICT
itself.
@remicollet , could up correct this comment?
raised with 8.3 in pear.php