Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,9 @@ PHP 8.6 UPGRADE NOTES
. header_register_callback() now declares true as its return type. It has not
been able to return false since PHP 8.0.0, where passing an invalid
callback started throwing a TypeError instead.
. register_tick_function() now declares true as its return type. It has
always returned true on success; an invalid callback throws a TypeError
via ZPP before the function body is reached.
. ini_get_all() now includes a "builtin_default_value" element for each
directive when $details is true. It holds the built-in default value of the
directive (or null if it has none), independent of values set in php.ini,
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/basic_functions.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ function getprotobyname(string $protocol): int|false {}
function getprotobynumber(int $protocol): string|false {}
#endif

function register_tick_function(callable $callback, mixed ...$args): bool {}
function register_tick_function(callable $callback, mixed ...$args): true {}

function unregister_tick_function(callable $callback): void {}

Expand Down
4 changes: 2 additions & 2 deletions ext/standard/basic_functions_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ext/standard/basic_functions_decl.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading