History log of /PHP-8.2/UPGRADING (Results 776 – 800 of 1683)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6be6cac6 05-May-2019 Peter Kokot

[ci skip] Move wddx to dedicated section


# 6b73e692 30-Apr-2019 Javier Spagnoletti

Add more missing CURL_VERSION_* constants

And also check for CURL_VERSION_* constants in the sync-constants.php
script.

Related to request #72189: Add missing `CURL_VERSION_*` c

Add more missing CURL_VERSION_* constants

And also check for CURL_VERSION_* constants in the sync-constants.php
script.

Related to request #72189: Add missing `CURL_VERSION_*` constants.

show more ...


# f3e5bbe6 02-May-2019 Nikita Popov

Implement arrow functions

Per RFC: https://wiki.php.net/rfc/arrow_functions_v2

Co-authored-by: Levi Morrison <levim@php.net>
Co-authored-by: Bob Weinand <bobwei9@hotmail.com>


# 42184661 01-May-2019 Kalle Sommer Nielsen

Okay, too quick to merge, these are only relevant to 7.4


# c8a20dfd 01-May-2019 Kalle Sommer Nielsen

NEWS for ext/interbase unbundling


# 55ecfe4e 29-Apr-2019 Nikita Popov

Add UPGRADING entries


# c68dc6b5 29-Apr-2019 Christoph M. Becker

Extend CURLFile to support streams

Due to former restrictions of the libcurl API, curl multipart/formdata
file uploads supported only proper files. However, as of curl 7.56.0
the ne

Extend CURLFile to support streams

Due to former restrictions of the libcurl API, curl multipart/formdata
file uploads supported only proper files. However, as of curl 7.56.0
the new `curl_mime_*()` API is available (and already supported by
PHP[1]), which allows us to support arbitrary *seekable* streams, which
is generally desirable, and particularly resolves issues with the
transparent Unicode and long part support on Windows (see bug #77711).

Note that older curl versions are still supported, but CURLFile is
still restricted to proper files in this case.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=a83b68ba56714bfa06737a61af795460caa4a105>

show more ...


# 3cfbbf29 18-Apr-2019 Nikita Popov

Make DateInterval objects uncomparable

Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.

Suppor

Make DateInterval objects uncomparable

Arbitrary DateInterval objects don't have well-defined comparison
semantics. Throw a warning and treat the objects as uncomparable.

Support for comparing DateInterval objects returned by
DateTime::diff() may be added in the future.

show more ...


# a353d4c2 20-Apr-2019 Peter Kokot

Update changelogs


# 9f0c9b7a 18-Apr-2019 Hugh McMaster

Rename --enable-libxml to --with-libxml to meet naming guidelines


# e2ea0f10 09-Apr-2019 Nikita Popov

Fix bug #77866: Port Serializable SPL classes to use __unserialize()

Payloads created using Serializable are still supported.


# e35a3cb2 16-Sep-2018 Nikita Popov

ext/xml: Use object instead of resource

Use an XmlParser object instead of a resource. This is an internal
representation change, not a conversion to OO APIs. XmlParser objects
canno

ext/xml: Use object instead of resource

Use an XmlParser object instead of a resource. This is an internal
representation change, not a conversion to OO APIs. XmlParser objects
cannot be explicitly constructed, they are created through the usual
xml_parser_* APIs.

This change allows us to provide a proper get_gc() implementation,
thus resolving bugs #72793 and #76874.

xml_parser_free() is a no-op now and need not be called anymore.

show more ...


# 07df6594 29-Mar-2019 Florian Berberich

Added range options to the float validation filter

php_filter_int (called via the constant FILTER_VALIDATE_INT) has the options min_range
and max_range. they allow the user to not only t

Added range options to the float validation filter

php_filter_int (called via the constant FILTER_VALIDATE_INT) has the options min_range
and max_range. they allow the user to not only test if a value is a double but also if
the value is inside a specific range. php_filter_float (called via the constant
FILTER_VALIDATE_FLOAT) didn't provide this yet, making validation of numeric but
not-only-int values more complicated for the user.
this commits implements the options min_range and max_range for the function
php_filter_float to fix this inconsistency.

show more ...


# 3d5b6f23 01-Apr-2019 Stanislav Malyshev

Update NEWS & UPGRADING


# d373c11e 22-Jan-2019 Nikita Popov

Implement new custom object serialization mechanism

RFC: https://wiki.php.net/rfc/custom_object_serialization


# 6311581a 19-Mar-2019 Nikita Popov

Fix bug #73948

If PREG_UNMATCHED_AS_NULL is used, make sure that unmatched capturing
groups at the end are also set to null, rather than just those in the
middle.


# 26f98ecd 20-Mar-2019 Kalle Sommer Nielsen

Sync the changes to ext/filter with 7.4, now that it works.

- Removed --with-pcre-dir
- The filter extension can now be built as shared on Unix with ./configure


# 6bbb18a0 20-Mar-2019 Christoph M. Becker

Unbundle ext/wddx

The extension is now available from <https://pecl.php.net/package/wddx>.

Cf. <https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx>.


# 12bcdd68 18-Mar-2019 Nikita Popov

Fix #77094: Add flags support for pcre_replace_callback(_array)


# 2b9acd37 18-Mar-2019 Nikita Popov

Fixed bug #72685

We currently have a large performance problem when implementing lexers
working on UTF-8 strings in PHP. This kind of code tends to perform a
large number of matches

Fixed bug #72685

We currently have a large performance problem when implementing lexers
working on UTF-8 strings in PHP. This kind of code tends to perform a
large number of matches at different offsets on a single string. This
is generally fast. However, if /u mode is used, the full string will
be UTF-8 validated on each match. This results in quadratic runtime.

This patch fixes the issue by adding a IS_STR_VALID_UTF8 flag, which
is set when we have determined that the string is valid UTF8 and
further validation is skipped.

A limitation of this approach is that we can't set the flag for interned
strings. I think this is not a problem for this use-case which will
generally work on dynamic data. If we want to use this flag for other
purposes as well (mbstring?) then it might be worthwhile to UTF-8 validate
strings during interning. But right now this doesn't seem useful.

show more ...


# 37443a63 13-Mar-2019 Claude Pache

test reversed


# b003e0a0 12-Mar-2019 Joe Watkins

weakrefs upgrading note


# c79ce48d 04-Mar-2019 Andrew Brampton

Fix #71890: Add support for crc32c Castagnoli's polynomial.

This variant of crc32 is heavily used by storage systems, such as iSCSI, SCTP,
Btrfs, ext4, and is increasingly being used in

Fix #71890: Add support for crc32c Castagnoli's polynomial.

This variant of crc32 is heavily used by storage systems, such as iSCSI, SCTP,
Btrfs, ext4, and is increasingly being used in API (such as Google Cloud
Storage, and Apache Kafka).

show more ...


# deb44d40 04-Mar-2019 Nikita Popov

Revert "Detect invalid uses of parent:: during compilation"

This reverts commit a9e6667817c38f22f4645ec5b4e5c6b0e4b928fa.

Breakage found in the wild: Mockery uses a parent:: call in

Revert "Detect invalid uses of parent:: during compilation"

This reverts commit a9e6667817c38f22f4645ec5b4e5c6b0e4b928fa.

Breakage found in the wild: Mockery uses a parent:: call in the
implementation regardless of whether the class has a parent or not:
https://github.com/mockery/mockery/blob/4324afeaf9d95b492507e6587abb3f024e2576de/library/Mockery/Mock.php#L600

This change is not worth the compat break in 7.4.

show more ...


# 5e8ed0a0 28-Feb-2019 Kalle Sommer Nielsen

NEWS


1...<<31323334353637383940>>...68