Skip to content

Commit 03ebdc6

Browse files
bjoriderickr
authored andcommitted
littlebit to eager on the zend_string, this is PHP5
1 parent f9170fc commit 03ebdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ PHONGO_API void zval_to_bson(zval *data, php_phongo_bson_flags_t flags, bson_t *
10191019
#if PHP_VERSION_ID >= 70000
10201020
Z_OBJCE_P(data)->name->val,
10211021
#else
1022-
Z_OBJCE_P(data)->name->val,
1022+
Z_OBJCE_P(data)->name,
10231023
#endif
10241024
BSON_SERIALIZE_FUNC_NAME,
10251025
#if PHP_VERSION_ID >= 70000

0 commit comments

Comments
 (0)