mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
This commit is contained in:
commit
1d24ac46ab
3 changed files with 79 additions and 1 deletions
|
@ -498,7 +498,8 @@ static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *f
|
|||
|
||||
if (Z_TYPE_P(handler) == IS_STRING) {
|
||||
php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", Z_STRVAL_P(handler));
|
||||
} else if ((obj = zend_hash_index_find(Z_ARRVAL_P(handler), 0)) != NULL &&
|
||||
} else if (Z_TYPE_P(handler) == IS_ARRAY &&
|
||||
(obj = zend_hash_index_find(Z_ARRVAL_P(handler), 0)) != NULL &&
|
||||
(method = zend_hash_index_find(Z_ARRVAL_P(handler), 1)) != NULL &&
|
||||
Z_TYPE_P(obj) == IS_OBJECT &&
|
||||
Z_TYPE_P(method) == IS_STRING) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue