mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
Forgot to remove unused codes
This commit is contained in:
parent
4b3e6fc129
commit
3da247e7a8
@ -3155,13 +3155,7 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, zval *object_ptr, uint ch
|
|||||||
|
|
||||||
if (zend_hash_num_elements(Z_ARRVAL_P(callable)) == 2) {
|
if (zend_hash_num_elements(Z_ARRVAL_P(callable)) == 2) {
|
||||||
obj = zend_hash_index_find(Z_ARRVAL_P(callable), 0);
|
obj = zend_hash_index_find(Z_ARRVAL_P(callable), 0);
|
||||||
if (Z_TYPE_P(obj) == IS_REFERENCE) {
|
|
||||||
obj = Z_REFVAL_P(obj);
|
|
||||||
}
|
|
||||||
method = zend_hash_index_find(Z_ARRVAL_P(callable), 1);
|
method = zend_hash_index_find(Z_ARRVAL_P(callable), 1);
|
||||||
if (Z_TYPE_P(method) == IS_REFERENCE) {
|
|
||||||
method = Z_REFVAL_P(method);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user