Fixed #991 to support non-closure callables on PHP 5.3