Skip to content

Commit 84aa2bd

Browse files
authored
Merge pull request #2742 from remicollet/issue-php85
STR_EMPTY_ALLOC removed in PHP 8.5
2 parents 6cbb217 + 1ff03c2 commit 84aa2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/php/session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PS_READ_FUNC(uwsgi) {
1414
uint64_t valsize = 0;
1515
char *value = uwsgi_cache_magic_get(key->val, key->len , &valsize, NULL, cache);
1616
if (!value) {
17-
*val = STR_EMPTY_ALLOC();
17+
*val = ZSTR_EMPTY_ALLOC();
1818
return SUCCESS;
1919
}
2020
*val = zend_string_init(value, valsize, 0);

0 commit comments

Comments
 (0)