com php-src: Fix opcache type info for stream_bucket_make _writable(): ext/opcache/Optimizer/zend_func_info .c
| From: | Nikita Popov | Date: | Tue, 20 Aug 2019 14:21:53 +0000 |
| Subject: | com php-src: Fix opcache type info for stream_bucket_make _writable(): ext/opcache/Optimizer/zend_func_info .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-107978@lists.php.net to get a copy of this message | ||
Commit: 50be2ecbd7ca9a9c857a838a09073b2a08b1a9a5
Author: Tyson Andre <tysonandre775@hotmail.com> Mon, 19 Aug 2019 22:48:10 -0400
Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 20 Aug 2019 16:21:53 +0200
Parents: 773957c36ff793414f3b0caee5a8510cf31547ed
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=50be2ecbd7ca9a9c857a838a09073b2a08b1a9a5
Log:
Fix opcache type info for stream_bucket_make_writable()
Closes GH-4567.
Changed paths:
M ext/opcache/Optimizer/zend_func_info.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_func_info.c b/ext/opcache/Optimizer/zend_func_info.c
index deadab5..da1564c 100644
--- a/ext/opcache/Optimizer/zend_func_info.c
+++ b/ext/opcache/Optimizer/zend_func_info.c
@@ -732,7 +732,7 @@ static const func_info_t func_infos[] = {
F1("str_rot13", MAY_BE_STRING),
F1("stream_get_filters", MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_LONG |
MAY_BE_ARRAY_OF_STRING),
F0("stream_filter_register", MAY_BE_FALSE | MAY_BE_TRUE),
- F1("stream_bucket_make_writeable", MAY_BE_FALSE | MAY_BE_OBJECT),
+ F1("stream_bucket_make_writeable", MAY_BE_NULL | MAY_BE_OBJECT),
F1("stream_bucket_prepend", MAY_BE_FALSE | MAY_BE_OBJECT),
F1("stream_bucket_append", MAY_BE_FALSE | MAY_BE_OBJECT),
F1("stream_bucket_new", MAY_BE_FALSE | MAY_BE_OBJECT),