PHP 5.3 compatibility fixes.
Remove Closure argument type cast.
Merge branch 'php_5.3'

Conflicts:
	src/functions.php