Fixed callback with newer versions of PHP 5.4 (>= 5.4.19+)

Zend changed how zvals used in call_user_function() are allocated
and garbage collected somewhere between 5.4.19 and 5.4.26