PHP versions below 5.3 throw errors when passing argument to clearstatcache. Fixes #2777
Merge branch 'master' into gh-pages