mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #77613 (method visibility change) (reverted ZEND_ACC_CTOR and ZEND_ACC_DTOR flags removal)
This commit is contained in:
parent
8b6dba25c7
commit
43a7d95016
8 changed files with 40 additions and 13 deletions
|
@ -1291,7 +1291,7 @@ ZEND_FUNCTION(get_class_methods)
|
|||
if (!key) {
|
||||
ZVAL_STR_COPY(&method_name, mptr->common.function_name);
|
||||
zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &method_name);
|
||||
} else if (mptr->common.scope->constructor != mptr ||
|
||||
} else if ((mptr->common.fn_flags & ZEND_ACC_CTOR) == 0 ||
|
||||
mptr->common.scope == ce ||
|
||||
zend_binary_strcasecmp(ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(mptr->common.function_name), len) == 0) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue