DokuWiki passes E_STRICT test, others don’t

Having read that

The Zend Framework codebase must be E_STRICT compliant.

on the latest version of a XAMPP server I’ve tested with E_STRICT the three LA(M)P programs that I mostly use: DokuWiki (2007-06-26b), Joomla! (1.5 RC3) and WordPress (2.3.1). Of course DokuWiki is the simplest of them but I was surprised to discover that it can be installed with error_reporting = E_STRICT without showing any warnings (the others showed long lists of them).

Last update: 2007-11-21

If you enjoyed this post, make sure you subscribe to my RSS feed!

2 Responses to “DokuWiki passes E_STRICT test, others don’t”


  1. 1 Andreas Gohr

    To be fair, that’s most probably because we set our own error reporting inside DokuWiki. Programming PHP in E_STRICT is really painful sometimes. But there are few people submitting strictness patches from time to time, but it’s not a priority in DokuWiki’s code.

    Even without E_STRICT compliance DokuWiki still has a really clean code base, though.

  2. 2 Carlo

    I see: I find this subject interesting and I’ll try to spend more time on it. Thanks.

Leave a Reply