Bug #63336 [Asn]: invalid E_NOTICE error occur
Edit report at https://bugs.php.net/bug.php?id=63336&edit=1
ID: 63336
Updated by: laruence@php.net
Reported by: tomoya-yokota at cybozu dot co dot jp
Summary: invalid E_NOTICE error occur
Status: Assigned
Type: Bug
Package: Compile Warning
Operating System: ubuntu12.04
PHP Version: 5.4.8
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
an solution is stop resolve constant value while in E_STRICT warning showing up.
but that will introduce a little bc break.
Previous Comments:
------------------------------------------------------------------------
[2012-10-23 07:18:27] laruence@php.net
Oh, I see your point.
------------------------------------------------------------------------
[2012-10-23 06:09:04] tomoya-yokota at cybozu dot co dot jp
in PHP5.3, E_NOTICE error did not occur.
But in PHP5.4, E_NOTICE error would occur.
Is it error reporting specification?
------------------------------------------------------------------------
[2012-10-23 06:00:40] laruence@php.net
I am not sure, E_ALL & ~ E_STRICT == E_ALL without E_STRICT..
maybe you mistake your except result?
------------------------------------------------------------------------
[2012-10-23 04:27:05] tomoya-yokota at cybozu dot co dot jp
> you said "set error_reporting with error_report( E_STRICT & ~ E_STRICT )."
Sorry. It is wrong. Test script is correct
------------------------------------------------------------------------
[2012-10-23 03:39:35] laruence@php.net
you said "set error_reporting with error_report( E_STRICT & ~ E_STRICT )."
but your test script sasy: "error_reporting( E_ALL & ~ E_STRICT );" ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63336
--
Edit this bug report at https://bugs.php.net/bug.php?id=63336&edit=1
Thread (8 messages)