summaryrefslogtreecommitdiff
path: root/ext/standard/streamsfuncs.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2015-02-02 14:45:19 +0800
committerXinchen Hui <laruence@gmail.com>2015-02-02 14:45:19 +0800
commite98caf27eaed852ee3567b1994167c85b89f79e5 (patch)
treea91443579d8cc9c8c304e104a5b52c9cc89597cc /ext/standard/streamsfuncs.c
parent50ae5b31b4f88310f6941ee0ccc6e12b4792381e (diff)
downloadphp-git-e98caf27eaed852ee3567b1994167c85b89f79e5.tar.gz
found type is unnecessary
Diffstat (limited to 'ext/standard/streamsfuncs.c')
-rw-r--r--ext/standard/streamsfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/streamsfuncs.c b/ext/standard/streamsfuncs.c
index f1e27e322f..46c2aaa9a1 100644
--- a/ext/standard/streamsfuncs.c
+++ b/ext/standard/streamsfuncs.c
@@ -920,7 +920,7 @@ static php_stream_context *decode_context_param(zval *contextresource)
if (context == NULL) {
php_stream *stream;
- stream = zend_fetch_resource2_ex(contextresource, NULL, NULL, php_file_le_stream(), php_file_le_pstream());
+ stream = zend_fetch_resource2_ex(contextresource, NULL, php_file_le_stream(), php_file_le_pstream());
if (stream) {
context = PHP_STREAM_CONTEXT(stream);