mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
update static constants too
This commit is contained in:
parent
3661930f14
commit
10b6a84b74
@ -668,6 +668,8 @@ zval **zend_get_static_property(zend_class_entry *ce, char *property_name, int p
|
||||
break;
|
||||
EMPTY_SWITCH_DEFAULT_CASE()
|
||||
}
|
||||
} else {
|
||||
zval_update_constant(retval, (void *) 1 TSRMLS_CC);
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
Loading…
Reference in New Issue
Block a user