We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173680a commit acc9406Copy full SHA for acc9406
main/streams/streams.c
@@ -2315,7 +2315,6 @@ PHPAPI php_stream_context *php_stream_context_alloc(void)
2315
php_stream_context *context;
2316
2317
context = ecalloc(1, sizeof(php_stream_context));
2318
- context->notifier = NULL;
2319
array_init(&context->options);
2320
2321
context->res = zend_register_resource(context, php_le_stream_context());
main/streams/userspace.c
@@ -469,7 +469,6 @@ PHP_FUNCTION(stream_wrapper_register)
469
uwrap->wrapper.wops = &user_stream_wops;
470
uwrap->wrapper.abstract = uwrap;
471
uwrap->wrapper.is_url = ((flags & PHP_STREAM_IS_URL) != 0);
472
- uwrap->resource = NULL;
473
474
rsrc = zend_register_resource(uwrap, le_protocols);
475
0 commit comments