1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00

Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed zend_read_static_property
This commit is contained in:
Xinchen Hui
2018-08-14 13:02:14 +08:00

View File

@@ -4193,7 +4193,7 @@ ZEND_API zval *zend_read_static_property_ex(zend_class_entry *scope, zend_string
ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_length, zend_bool silent) /* {{{ */
{
zend_string *key = zend_string_init(name, name_length, 0);
zval *property = zend_std_get_static_property(scope, key, silent);
zval *property = zend_read_static_property_ex(scope, key, silent);
zend_string_efree(key);
return property;
}