fixes wrong requirement of PATHINFO_FILENAME

The constant `PATHINFO_FILENAME` was introduced with PHP 5.2.0, not with 4.0.0, see [the manual](http://php.net/manual/en/function.pathinfo.php#refsect1-function.pathinfo-changelog) and also http://3v4l.org/doI6L.