We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f787e21 + 046ae2f commit 52dd0d1Copy full SHA for 52dd0d1
win32/registry.c
@@ -91,6 +91,7 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_
91
INIT_PZVAL(data);
92
Z_STRVAL_P(data) = zend_strndup(value, value_len-1);
93
Z_STRLEN_P(data) = value_len-1;
94
+ Z_TYPE_P(data) = IS_STRING;
95
zend_hash_update(ht, name, name_len+1, &data, sizeof(zval*), NULL);
96
}
97
0 commit comments