php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch set_error_handler-allow-null-parameter for Unknown/Other Function Bug #60738Patch version 2012-03-10 22:34 UTC Return to Bug #60738 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: kevin.swinton@gmail.com1523,1524c1523,1524 < if (!zend_is_callable(error_handler, 0, &error_handler_name TSRMLS_CC)) { < zend_error(E_WARNING, "%s() expects the argument (%s) to be a valid callback", --- > if ( Z_TYPE_P(error_handler) != IS_NULL && !zend_is_callable(error_handler, 0, &error_handler_name TSRMLS_CC)) { > zend_error(E_WARNING, "%s() expects the argument (%s) to be a valid callback or null", |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sun Dec 22 06:01:30 2024 UTC |