Skip to content

Commit 0afc106

Browse files
committed
Fixed zend_hash_str_find to zend_hash_find
1 parent ce2edc1 commit 0afc106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bcmath/bcmath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ PHP_METHOD(BcMath_Number, __unserialize)
17021702
Z_PARAM_ARRAY_HT(props)
17031703
ZEND_PARSE_PARAMETERS_END();
17041704

1705-
zval *zv = zend_hash_str_find(props, ZSTR_KNOWN(ZEND_STR_VALUE));
1705+
zval *zv = zend_hash_find(props, ZSTR_KNOWN(ZEND_STR_VALUE));
17061706
if (!zv || Z_TYPE_P(zv) != IS_STRING || Z_STRLEN_P(zv) == 0) {
17071707
goto fail;
17081708
}

0 commit comments

Comments
 (0)