Skip to content
Merged
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
8 changes: 8 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ PHP NEWS
left busy for the next fetch, and rows delivered from a result another
statement took over. (KentarouTakeda)

- Phar:
. Fixed Phar archives being automatically detected when ".phar" only occurs
in a directory name or is not a filename extension in an included file's
path. (Weilin Du)

- Readline:
. Fixed class constant completion in the interactive shell. (Weilin Du)

- Zip:
. Fixed bug GH-17787 (ZipArchive stream stops reading early when the archive
is freed while the stream is still open). (Eyüp Can Akman)

- SAPI:
. Fixed returns uninitialized value on LiteSpeed lsapi SAPI (Go Kudo)

13 Aug 2026, PHP 8.6.0beta1

- Core:
Expand Down
9 changes: 8 additions & 1 deletion UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ PHP 8.6 UPGRADE NOTES
. imagesetstyle(), imagefilter() and imagecrop() filter their array arguments
types / values and raise a TypeError / ValueError accordingly.

- Phar:
. Files are only automatically interpreted as Phar archives when included
if ".phar" occurs as an extension in the filename component of their
paths. Previously, it could occur in a directory name or as part of an
extension such as ".pharma".

- GMP:
. GMP power and shift operators now throw ValueError when GMP right operands
are outside the unsigned long range, instead of silently truncating them.
Expand Down Expand Up @@ -335,7 +341,8 @@ PHP 8.6 UPGRADE NOTES

- GMP:
. Added gmp_powm_sec() for side-channel quiet modular exponentiation.
Requires GNU MP 5.0.0 or later.
Requires GNU MP 5.0.0 or later; it is not available on official Windows
builds using MPIR.
. Added gmp_prevprime() to get the largest prime smaller than the given
number. The optional $definitely_prime output parameter indicates whether
the returned number is definitely prime, as opposed to probably prime.
Expand Down
4 changes: 4 additions & 0 deletions Zend/Optimizer/zend_func_infos.h
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,10 @@ static const func_info_t func_infos[] = {
F1("serialize", MAY_BE_STRING),
F1("xml_error_string", MAY_BE_STRING|MAY_BE_NULL),
F1("xml_parser_get_option", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_BOOL),
FN("zend_resource", MAY_BE_RESOURCE),
FN("zend_resource_or_null", MAY_BE_RESOURCE|MAY_BE_NULL),
FN("zend_resource_slow_zpp", MAY_BE_RESOURCE),
FN("zend_resource_or_null_slow_zpp", MAY_BE_RESOURCE|MAY_BE_NULL),
FN("zend_test_create_throwing_resource", MAY_BE_RESOURCE),
FN("zip_open", MAY_BE_RESOURCE|MAY_BE_LONG|MAY_BE_FALSE),
FN("zip_read", MAY_BE_RESOURCE|MAY_BE_FALSE),
Expand Down
74 changes: 0 additions & 74 deletions Zend/tests/number_or_str_zpp.phpt

This file was deleted.

70 changes: 0 additions & 70 deletions Zend/tests/str_or_obj_of_class_zpp.phpt

This file was deleted.

53 changes: 0 additions & 53 deletions Zend/tests/str_or_obj_zpp.phpt

This file was deleted.

Loading