Re: php update 5.3 -> 5.4; parseStructure() should not be called statically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/20/2012 12:06 PM, Tomas Kuliavas wrote:
> Use number instead of constant name. Not all error reporting constants are
> available on older PHP version. You should not suppress E_NOTICE in
> SquirrelMail. This error reporting level should be displayed to catch coding
> errors.
>
> SquirrelMail is displaying E_STRICT errors cause PHP changed error reporting
> levels included in E_ALL. You can find old rants about it on php-internals.
> You might call it SquirrelMail problem, but only interpreter's designers are
> guilty for creating this issue.
>
> Please don't put my name next to Paul's. I am not SquirrelMail developer.

Thank you for the heads up. I'll make sure I don't do that again.

I wonder how egroupware and others have handled the inclusion of E_STRICT in 
E_ALL to suppress the E_STRICT notices in the pages they serve? The only 
reason this issue surfaced in sqmail was the users I had were reporting the 
warning messages (which appear in Red at the bottom of the message viewer 
window) Event suppressing ~E_STRICT in php.ini did not suppress them in 
squirrelmail.

I guess I should just suppress the ~E_STRICT in the sqmail files. I don't have 
to worry about older PHP versions. The hacks I made were just to my personal 
squirrelmail install. On Arch, the php version is set and will not go 
backwards for me.

I hope you understand I wasn't suggesting that anyone else make those changes 
and that I only reported to the list to help identify the lines of code in 
sqmail I had to change to suppress the messages with the new php.

Thanks again.

-- 
David C. Rankin, J.D.,P.E.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux