diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-12-04 13:21:35 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-12-04 13:21:35 +0300 |
commit | cc12acefcd4de93a2e8bcd0fe7dc2e000f14159d (patch) | |
tree | 4d137ed61b3ecc446ddeb75106fe6984fdac4ca5 /ext/standard/var.c | |
parent | 7b085635d71b44c15d1057049c0cf38ff15d4a09 (diff) | |
download | php-git-cc12acefcd4de93a2e8bcd0fe7dc2e000f14159d.tar.gz |
Use cheaper functions
Diffstat (limited to 'ext/standard/var.c')
-rw-r--r-- | ext/standard/var.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/var.c b/ext/standard/var.c index 70f9ab65f2..0c32f32b65 100644 --- a/ext/standard/var.c +++ b/ext/standard/var.c @@ -741,7 +741,7 @@ static void php_var_serialize_class(smart_str *buf, zval *struc, zval *retval_pt ZEND_HASH_FOREACH_STR_KEY(&names, name) { zend_string *prot_name, *priv_name; - zval *val = zend_hash_find(propers, name); + zval *val = zend_hash_find_ex(propers, name, 1); if (val != NULL) { if (Z_TYPE_P(val) == IS_INDIRECT) { val = Z_INDIRECT_P(val); |