1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix warning on 8.5

This commit is contained in:
Ilija Tovilo
2025-12-04 13:51:16 +01:00
parent d74085bf8c
commit f39ae2fc67

View File

@@ -149,7 +149,7 @@ static php_stream_filter_status_t userfilter_filter(
stream->flags |= PHP_STREAM_FLAG_NO_FCLOSE;
/* Give the userfilter class a hook back to the stream */
zend_class_entry *old_scope = EG(fake_scope);
const zend_class_entry *old_scope = EG(fake_scope);
EG(fake_scope) = Z_OBJCE_P(obj);
zend_string *stream_name = ZSTR_INIT_LITERAL("stream", 0);