summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-01-13 09:33:15 +0300
committerDmitry Stogov <dmitry@zend.com>2015-01-13 09:33:15 +0300
commit7e93de101ff2c3924472640844895334889f0dab (patch)
treef1ab640eaf9edc67da0b2f16a28eaf394725aae4 /Zend/zend_API.c
parentd810cf816bdeea6133c773241c8804f1d347c560 (diff)
downloadphp-git-7e93de101ff2c3924472640844895334889f0dab.tar.gz
Handle run-time cache for static properties directly in executor.
Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 45219227cd..ef7012d5ea 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -3714,7 +3714,7 @@ ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *na
zend_string *key = zend_string_init(name, name_length, 0);
EG(scope) = scope;
- property = zend_std_get_static_property(scope, key, 0, NULL);
+ property = zend_std_get_static_property(scope, key, 0);
EG(scope) = old_scope;
zend_string_free(key);
if (!property) {
@@ -3830,7 +3830,7 @@ ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *na
zend_string *key = zend_string_init(name, name_length, 0);
EG(scope) = scope;
- property = zend_std_get_static_property(scope, key, silent, NULL);
+ property = zend_std_get_static_property(scope, key, silent);
EG(scope) = old_scope;
zend_string_free(key);