mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Mark ob_start callback parameter nullable
This commit is contained in:
@@ -1513,7 +1513,7 @@ function header_register_callback(callable $callback): bool {}
|
||||
|
||||
/* main/output.c */
|
||||
|
||||
/** @param callable $callback */
|
||||
/** @param callable|null $callback */
|
||||
function ob_start($callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool {}
|
||||
|
||||
function ob_flush(): bool {}
|
||||
|
||||
2
ext/standard/basic_functions_arginfo.h
generated
2
ext/standard/basic_functions_arginfo.h
generated
@@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: 7389d094a842a2289cd32cb37386e5e40ea7e031 */
|
||||
* Stub hash: 2a3d8da0b92134dcca74f2ac70454bd27768f20e */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_set_time_limit, 0, 1, _IS_BOOL, 0)
|
||||
ZEND_ARG_TYPE_INFO(0, seconds, IS_LONG, 0)
|
||||
|
||||
Reference in New Issue
Block a user