Anonymous function rewritten as static one to maintain compatibility with PHP 5.2
Merge pull request #293 from mhujer/fix-anonymous-f

Fixes #292 - Anonymous function rewritten as static one to maintain compatibility with PHP 5.2
Check that pathinfo() has returned an extension

Prevent the notice that is generated when pathinfo() doesn't return an
'extension' element in Zend_Validate_File_Extension.

Fixes #287
Merge pull request #294 from akrabat/issue-287

Fixes #287 - Check that pathinfo() has returned an extension