We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 36e88d7 + e1410b5 commit 046ae2fCopy full SHA for 046ae2f
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