Skip to content

Commit 486ede4

Browse files
committed
Fixed zend_hash_str_update to zend_hash_update
1 parent 6538831 commit 486ede4

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
@@ -1691,7 +1691,7 @@ PHP_METHOD(BcMath_Number, __serialize)
16911691

16921692
zval zv;
16931693
ZVAL_STR_COPY(&zv, bcmath_number_value_to_str(intern));
1694-
zend_hash_str_update(props, ZEND_STRL("value"), &zv);
1694+
zend_hash_update(props, ZSTR_KNOWN(ZEND_STR_VALUE), &zv);
16951695
}
16961696

16971697
PHP_METHOD(BcMath_Number, __unserialize)

0 commit comments

Comments
 (0)