#1 E_ALL coding guidelines

closed-fixed
None
5
2009-05-31
2007-05-31
No

SquirrelMail coding guidelines (http://www.squirrelmail.org/docs/devel/devel-2.html#ss2.1) ask to code in E_ALL environment. In PHP6 E_ALL includes E_STRICT. Lots of E_STRICT notices are only recommendations and most of them are not backwards compatible.

Coding in E_STRICT might introduce backwards incompatible code. If developer tries to suppress E_STRICT notices, it makes harder to debug issues. For example @date_default_timezone_get() can stop with fatal error in some setups.

Discussion

  • Fredrik Jervfors

    • status: open --> closed-fixed
     
  • Fredrik Jervfors

    Thank you. I've updated the documentation.

     

Log in to post a comment.