diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-06 18:57:41 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-06 19:05:57 +0200 |
commit | 0280b83e1179b3901f4c34c777c6232c5a3f99b8 (patch) | |
tree | f6173d916b9b74eab83f7f7d3bdfe6877cf11fce /ext/standard/streamsfuncs.c | |
parent | 4a0d6901bb00154e40237143a754234a266d2774 (diff) | |
download | php-git-0280b83e1179b3901f4c34c777c6232c5a3f99b8.tar.gz |
Avoid some unnecessary uses of no_separation=0
For the rare cases where references are part of the API,
construct them explicitly. Otherwise do not allow separation.
Diffstat (limited to 'ext/standard/streamsfuncs.c')
-rw-r--r-- | ext/standard/streamsfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c index 7875285f56..cc52b429c8 100644 --- a/ext/standard/streamsfuncs.c +++ b/ext/standard/streamsfuncs.c @@ -859,7 +859,7 @@ static void user_space_stream_notifier(php_stream_context *context, int notifyco ZVAL_LONG(&zvs[4], bytes_sofar); ZVAL_LONG(&zvs[5], bytes_max); - if (FAILURE == call_user_function_ex(NULL, NULL, callback, &retval, 6, zvs, 0, NULL)) { + if (FAILURE == call_user_function(NULL, NULL, callback, &retval, 6, zvs)) { php_error_docref(NULL, E_WARNING, "Failed to call user notifier"); } for (i = 0; i < 6; i++) { |