History log of /PHP-8.2/UPGRADING (Results 676 – 700 of 1683)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5c24f804 15-Oct-2019 Nikita Popov

Promote "Cannot use parent" to fatal error


# aa10e208 11-Oct-2019 Nikita Popov

Add upgrading note for round(-0.0) change

As cmb pointed out, the new behavior is compliant with POSIX:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/round.html.


# e35bdb49 02-Oct-2019 Nikita Popov

Add fdiv() function

The fdiv() function is part of the fmod() / intdiv() family. It
implements a floating-point division with IEEE-754 semantics.
That is, division by zero is conside

Add fdiv() function

The fdiv() function is part of the fmod() / intdiv() family. It
implements a floating-point division with IEEE-754 semantics.
That is, division by zero is considered well-defined and does not
trigger any kind of diagnostic. Instead one of INF, -INF or NAN
will be returned, depending on the case.

This is in preparation for throwing DivisionByZeroError from the
standard division operator.

show more ...


# db233501 10-Oct-2019 Nikita Popov

Use clean shutdown on uncaught exception


# 5eebd553 07-Oct-2019 Tyson Andre

Fix grammar nits on php 7.4 UPGRADING


# 07f48304 07-Oct-2019 Nikita Popov

Fix typo in UPGRADING

[ci skip]


# 6623e7ac 02-Oct-2019 Nikita Popov

Add support for mbstring.regex_retry_limit

This is very similar to the existing mbstring.regex_stack_limit,
but for backtracking. The default value matches pcre.backtrack_limit.
Only

Add support for mbstring.regex_retry_limit

This is very similar to the existing mbstring.regex_stack_limit,
but for backtracking. The default value matches pcre.backtrack_limit.
Only used on libonig >= 2.8.0.

show more ...


# d44cf9b5 02-Oct-2019 Nikita Popov

Replace "unexpected character" warning with ParseError

Closes GH-4767.


Revision tags: php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# 4d6f88e2 10-Jun-2016 tyage

Fix #72374: remove_path strips first char of filename


# 2f92957f 01-Oct-2019 Nikita Popov

Convert some notices to warnings

Part of https://wiki.php.net/rfc/engine_warnings.


# e98e1f92 14-Jan-2019 Nikita Popov

Allow SA_RESTART for SIGALRM

If no explicit restart_syscalls is passed, default to
restart_syscalls=0 for SIGALRM only, to reduce BC impact.


# 59ac81f8 01-Oct-2019 Christoph M. Becker

Update regarding changed OpenSSL default config path


# 8aad466c 27-Sep-2019 Mark

Convert GD Resources to objects


# e546d721 28-Aug-2019 Sergei Turchanov

Fix #78413: php-fpm request_terminate_timeout does not take effect after fastcgi_finish_request

To retain legacy behavior I decided to add an option to control request
termination logic.

Fix #78413: php-fpm request_terminate_timeout does not take effect after fastcgi_finish_request

To retain legacy behavior I decided to add an option to control request
termination logic. If request_terminate_timeout_track_finished is set,
then request will be tracked for time limits even after
fastcgi_finish_request was called.

This patch depends on the fix provided in BUG 78469 (otherwise php-fpm
workers listening on named pipes on Windows will be erroneously terminated)
(PR #4636)

show more ...


# 1806ce9c 24-Sep-2019 Nikita Popov

Add max_depth option to unserialize()

Add a max_depth option to unserialize and an unserialize_max_depth
ini setting, which can be used to control the depth limit. The
default value

Add max_depth option to unserialize()

Add a max_depth option to unserialize and an unserialize_max_depth
ini setting, which can be used to control the depth limit. The
default value is 4096.

This option is intended to prevent stack overflows during the
unserialization of deeply nested structures.

This fixes bug #78549 and addresses oss-fuzz #17581, #17589, #17664,
and #17788.

show more ...


# 38b19d47 27-Sep-2019 Nikita Popov

Convert "Only arrays and Traversables can be unpacked" into Error


# e8b0163e 27-Sep-2019 Nikita Popov

Promote write "use scalar as array" warning to Error


# 0ebf2bdb 26-Sep-2019 Nikita Popov

Convert "Illegal offset type" warnings to exceptions


# f2b09969 26-Sep-2019 Nikita Popov

Convert "cannot add element" warning to exception


# a66c60cc 26-Sep-2019 Nikita Popov

Throw Error when writing property of non-object

This removes object auto-vivification support.

This also means that we can remove the corresponding special
handling for typed pr

Throw Error when writing property of non-object

This removes object auto-vivification support.

This also means that we can remove the corresponding special
handling for typed properites: We no longer need to check that a
property is convertible to stdClass if such a conversion might
take place indirectly due to a nested property write.

Additionally OBJ_W style operations now no longer modify the
object operand, and as such we no longer need to treat op1 as a
def in SSA form.

The next step would be to actually compile the whole LHS of OBJ_W
operations in R rather than W mode, but that causes issues with
SimpleXML, whose object handlers depend on the current compilation
structure.

Part of https://wiki.php.net/rfc/engine_warnings.

show more ...


# 5356bad8 22-Sep-2019 Christoph M. Becker

Remove unused parameter

The `$use_include_path` parameter doesn't make sense for
`tidy_repair_string()`, and actually unused, so we remove it.


# 48892e6d 21-Sep-2019 Christoph M. Becker

Remove unused parameter

Cf. <https://bugs.php.net/78579>.


# cdd4e591 18-Sep-2019 Nikita Popov

Don't make argument nullable based on AST null initializer

Closes GH-4720.


# d61bc63c 14-Sep-2019 Christoph M. Becker

Change XMLWriter resources to objects

While we generally prefer objects over resources for quite a while, the
procedural XMLWriter API still uses resources, although there is
already

Change XMLWriter resources to objects

While we generally prefer objects over resources for quite a while, the
procedural XMLWriter API still uses resources, although there is
already an object-oriented API which uses objects. This dichotomy
makes no sense, slightly complicates the implementation, and doesn't
allow a stepwise migration to the object-oriented API, which might be
desired. Thus we completely drop the XMLWriter resources in favor of
XMLWriter objects.

We consider the minor BC break acceptable for a major version, since
only explicit type checks (`is_resource()`, `gettype()` etc.) need to
be adapted.

show more ...


# 873b5484 17-Sep-2019 Benjamin Eberlei

Upgrading notes for removed ext/dom classes.


1...<<21222324252627282930>>...68