com php-src: Fixed zend_read_static_property: Zend/ze nd_API.c
| From: | Xinchen Hui | Date: | Tue, 14 Aug 2018 05:01:50 +0000 |
| Subject: | com php-src: Fixed zend_read_static_property: Zend/ze nd_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102875@lists.php.net to get a copy of this message | ||
Commit: 78d823d9c3a5854ff200fbce18dcebbaa5f71065
Author: Xinchen Hui <laruence@gmail.com> Tue, 14 Aug 2018 13:01:50 +0800
Parents: dcd4b321859cdf494cb85ac937ad6339121a8c29
Branches: PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=78d823d9c3a5854ff200fbce18dcebbaa5f71065
Log:
Fixed zend_read_static_property
Changed paths:
M Zend/zend_API.c
Diff:
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index d128832..87d6272 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -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;
}