]> granicus.if.org Git - php/commit
Throw TypeError for invalid callback
authorAaron Piotrowski <aaron@trowski.com>
Mon, 6 Jul 2015 20:03:35 +0000 (15:03 -0500)
committerAaron Piotrowski <aaron@trowski.com>
Mon, 6 Jul 2015 20:03:35 +0000 (15:03 -0500)
commit1adf3df81e54d51e0ac2a6791f69aa995e04181a
tree89882d56a3ec81e175a64261a4fb9a59717d24dc
parent724051e3bd0b8618edd1dd3f29f27939efefff08
Throw TypeError for invalid callback

Matches behavior of zend_internal_type_error() if E_ERROR is passed to
zend_wrong_callback_error().
Zend/zend_API.c