Skip to content

Commit 6538831

Browse files
Fixed zend_hash_str_update to zend_hash_update
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
1 parent a9855a1 commit 6538831

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
@@ -869,7 +869,7 @@ static HashTable *bcmath_number_get_properties_for(zend_object *obj, zend_prop_p
869869
HashTable *props = zend_array_dup(zend_std_get_properties(obj));
870870

871871
ZVAL_STR_COPY(&zv, bcmath_number_value_to_str(intern));
872-
zend_hash_str_update(props, ZEND_STRL("value"), &zv);
872+
zend_hash_update(props, ZSTR_KNOWN(ZEND_STR_VALUE), &zv);
873873
ZVAL_LONG(&zv, intern->scale);
874874
zend_hash_str_update(props, ZEND_STRL("scale"), &zv);
875875

0 commit comments

Comments
 (0)