]> granicus.if.org Git - php/commitdiff
Fix opcache type info for stream_bucket_make_writable()
authorTyson Andre <tysonandre775@hotmail.com>
Tue, 20 Aug 2019 02:48:10 +0000 (22:48 -0400)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 20 Aug 2019 14:21:53 +0000 (16:21 +0200)
Closes GH-4567.

ext/opcache/Optimizer/zend_func_info.c

index deadab541dc059093642f80eeff7f9f4e8deb033..da1564cdd85356596acbf3d4ebd38f22d1ffe343 100644 (file)
@@ -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),