History log of /PHP-8.1/UPGRADING (Results 26 – 50 of 1208)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-7.3.27
# 1f427779 06-Jan-2021 George Peter Banyard

Deprecate using the implicit default PgSQL connection

The DB connection should be provided in all cases as the first argument.
The overloaded function signatures will be removed in the f

Deprecate using the implicit default PgSQL connection

The DB connection should be provided in all cases as the first argument.
The overloaded function signatures will be removed in the future.
Warn about this change.

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

show more ...

# a80360db 09-Jul-2021 Nikita Popov

Deprecate direct access to static trait members

Static trait members may only be accessed through a class in which
the trait is used, not directly on the trait.

A complication h

Deprecate direct access to static trait members

Static trait members may only be accessed through a class in which
the trait is used, not directly on the trait.

A complication here is that we should not store static
methods/properties for which a deprecation is triggered in a
cache slot. As the check for this is simple and cheap, I'm handling
this in the cache slot population code in the VM. The alternative
would be to pass the cache slot down into the fetching code.

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

show more ...

# 08069165 09-Jul-2021 Nikita Popov

Deprecate ctype_*() on non-string arguments

Non-string arguments will be interpreted as strings in the future.
Warn about the upcoming behavior change.

Part of https://wiki.php.

Deprecate ctype_*() on non-string arguments

Non-string arguments will be interpreted as strings in the future.
Warn about the upcoming behavior change.

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

show more ...

# 232aa34b 08-Jul-2021 Nikita Popov

Deprecate auto_detect_line_endings

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

# bed71393 08-Jul-2021 Nikita Popov

Deprecate strptime()

Use date_parse_from_format() or IntlDateFormatter::parse() instead.

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

# 2bc23cc6 08-Jul-2021 Nikita Popov

Deprecate imap NIL constant

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

# f0b190c3 08-Jul-2021 Nikita Popov

Deprecate return by ref from void function

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

# bf94010b 08-Jul-2021 Nikita Popov

Deprecate FILTER_SANITIZE_STRING/STRIPPED

Deprecate the FILTER_SANITIZE_STRING and FILTER_SANITIZE_STRIPPED
filters.

This is part of https://wiki.php.net/rfc/deprecations_php_8_

Deprecate FILTER_SANITIZE_STRING/STRIPPED

Deprecate the FILTER_SANITIZE_STRING and FILTER_SANITIZE_STRIPPED
filters.

This is part of https://wiki.php.net/rfc/deprecations_php_8_1.

show more ...

# 1c07b11b 08-Jul-2021 Nikita Popov

Deprecate odbc_result_all()

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

# 625b89af 08-Jul-2021 Nikita Popov

Deprecate mysqli::init()

In favor of parent::__construct().

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

# bf0c1ce1 08-Jul-2021 Nikita Popov

Deprecate mhash

Deprecate mhash(), mhash_keygen_s2k(), mhash_count(),
mhash_get_block_size() and mhash_get_hash_name() in favor of the
normal hash_*() functions.

Part of htt

Deprecate mhash

Deprecate mhash(), mhash_keygen_s2k(), mhash_count(),
mhash_get_block_size() and mhash_get_hash_name() in favor of the
normal hash_*() functions.

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

show more ...

# 1c50784a 08-Jul-2021 Nikita Popov

Deprecate IntlCalendar::roll() with bool argument

Pass 1 instead of true and -1 instead of false.

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

# 92f6e215 08-Jul-2021 Nikita Popov

Deprecate FILE_BINARY and FILE_TEXT constants

These constants have no effect.

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

# 63901584 08-Jul-2021 Nikita Popov

Deprecate calling mb_check_encoding() without argument

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

# dcc8463a 08-Jul-2021 Nikita Popov

Deprecate IAP functions on objects

Deprecate use of key(), current(), next(), prev(), reset() and
end() on objects. Cast the object to array first.

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

Deprecate IAP functions on objects

Deprecate use of key(), current(), next(), prev(), reset() and
end() on objects. Cast the object to array first.

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

show more ...

# 5bb83b37 08-Jul-2021 Nikita Popov

Deprecate date_sunrise() and date_sunset()

date_sunrise() and date_sunset() are deprecated in favor of
date_sun_info().

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

Revision tags: php-7.3.26, php-7.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, php-7.3.24RC1, php-7.3.23, php-7.3.23RC1, php-7.3.22, php-7.3.22RC1, php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.3.18RC1
# 6e16e1da 17-Apr-2020 Marco Pivetta

Make ReflectionProperty/Method always accessible

With this patch, it is no longer required to call
`ReflectionProperty#setAccessible()` or
`ReflectionMethod#setAccessible()` with `tr

Make ReflectionProperty/Method always accessible

With this patch, it is no longer required to call
`ReflectionProperty#setAccessible()` or
`ReflectionMethod#setAccessible()` with `true`.

If a userland consumer already got to the point of accessing
object/class information via reflection, it makes little sense
for `ext/reflection` to disallow accessing `private`/`protected`
symbols by default.

After this patch, calling `ReflectionProperty#setAccessible(true)`
or `ReflectionMethod#setAccessible(true)` on newly instantiated
`ReflectionProperty` or `ReflectionMethod` respectively will have
no effect.

RFC: https://wiki.php.net/rfc/make-reflection-setaccessible-no-op

Closes GH-5412.

show more ...

# a5360e80 06-Jul-2021 Máté Kocsis

Add support for final class constants

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

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

# 069a9fa5 05-Jul-2021 George Peter Banyard

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>

Pure Intersection types (#6799)

Implement pure intersection types RFC

RFC: https://wiki.php.net/rfc/pure-intersection-types

Co-authored-by: Nikita Popov <nikic@php.net>
Co-authored-by: Ilija Tovilo <ilutov@php.net>

show more ...

# b11785c5 25-Jun-2021 Cameron Porter

Fixed bug #81085: Add version 7.71.0 blob options.

Adds support for the following options beginning with version 7.71.0:

CURLOPT_ISSUERCERT_BLOB
CURLOPT_PROXY_ISSUERCERT

Fixed bug #81085: Add version 7.71.0 blob options.

Adds support for the following options beginning with version 7.71.0:

CURLOPT_ISSUERCERT_BLOB
CURLOPT_PROXY_ISSUERCERT
CURLOPT_PROXY_ISSUERCERT_BLOB
CURLOPT_PROXY_SSLCERT_BLOB
CURLOPT_PROXY_SSLKEY_BLOB
CURLOPT_SSLCERT_BLOB
CURLOPT_SSLKEY_BLOB

Closes GH-7194.

show more ...

# fb701948 22-Jun-2021 Juliette <663378+jrfnl@users.noreply.github.com>

UPGRADING: update information re: return type for internal methods (#7182)

As discussed in 7051.

# ed88daec 18-Jun-2021 Joe Watkins

missing news/upgrading entry

# deb7955b 17-Jun-2021 Nikita Popov

Fix #81150 Add UPGRADING note for float to int deprecation

[ci skip]

# 1c08f8a4 18-May-2021 Nikita Popov

Allow named args after unpack

Currently, argument unpacking and named arguments cannot be mixed
at all. This relaxes the restriction to allow
foo(...$args, named: $arg). The variant

Allow named args after unpack

Currently, argument unpacking and named arguments cannot be mixed
at all. This relaxes the restriction to allow
foo(...$args, named: $arg). The variant foo(named: $arg, ...$args)
is still forbidden, because we can't ensure that positional
parameters come before named parameters in that case (without more
intrusive changes). Effectively this just enforces a required style,
as the order of unpack and named args doesn't matter for the cases
where both could be well-defined.

ML discussion: https://externals.io/message/114589

Closes GH-7009.

show more ...

# 805471e8 08-Jun-2021 Nikita Popov

Fix bug #81112: Implement JsonSerializable for SplFixedArray

This returns an array for SplFixedArray JSON encoding, which
is more appropriate than an object with integer string keys.

Fix bug #81112: Implement JsonSerializable for SplFixedArray

This returns an array for SplFixedArray JSON encoding, which
is more appropriate than an object with integer string keys.

Closes GH-7117.

show more ...

12345678910>>...49