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 3b06e81 commit 857ab51Copy full SHA for 857ab51
php_phongo.c
@@ -1942,7 +1942,8 @@ static mongoc_client_t *php_phongo_make_mongo_client(php_phongo_manager_t *manag
1942
ctx = php_stream_context_from_zval(*zcontext, 0);
1943
#endif
1944
} else {
1945
- ctx = FG(default_context) ? FG(default_context) : php_stream_context_alloc(TSRMLS_C);
+ zval *tmp = NULL; /* PHP 5.x requires an lvalue */
1946
+ ctx = php_stream_context_from_zval(tmp, 0);
1947
}
1948
1949
if (mongoc_uri_get_ssl(uri)) {
0 commit comments