Documentation for #991
Fixed #991 to support non-closure callables on PHP 5.3
Merge pull request #1031 from mnapoli/custom-functions-callback-documentation

Documentation for #991