#
6780aaa5 |
| 02-Jun-2021 |
Nikita Popov |
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net
Implement readonly properties Add support for readonly properties, for which only a single initializing assignment from the declaring scope is allowed. RFC: https://wiki.php.net/rfc/readonly_properties_v2 Closes GH-7089.
show more ...
|
#
052af90b |
| 09-Jun-2021 |
Kamil Tekiela |
Deprecate autovivification on false Deprecate automatically converting "false" into an empty array on write operands. Autovivification continues to be supported for "null" values, as
Deprecate autovivification on false Deprecate automatically converting "false" into an empty array on write operands. Autovivification continues to be supported for "null" values, as well as undefined/uninitialized values. RFC: https://wiki.php.net/rfc/autovivification_false Closes GH-7131. Co-authored-by: Tyson Andre <tysonandre775@hotmail.com> Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
453a5163 |
| 17-Jul-2021 |
George Peter Banyard |
[skip-ci] Fixup UPGRADING documents Some entries were in the wrong section/wrong document.
|
#
edb6b375 |
| 16-Jul-2021 |
Nikita Popov |
Don't return bool from Phar::offsetUnset() This violates the ArrayAccess interface. Use offsetExists() to check if an entry exists.
|
#
172f84bf |
| 16-Jul-2021 |
Nikita Popov |
Add UPGRADING entry for socket options [ci skip]
|
#
0ba155cd |
| 15-Jul-2021 |
George Peter Banyard |
Make syslog() binary safe Closes GH-7245 Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
|
#
53aed48e |
| 14-Jun-2021 |
Nikita Popov |
Allow objects in define() This was separately discussed in https://externals.io/message/114863, but also necessary for consistency now that https://wiki.php.net/rfc/new_in_initialize
Allow objects in define() This was separately discussed in https://externals.io/message/114863, but also necessary for consistency now that https://wiki.php.net/rfc/new_in_initializers has landed. Closes GH-7149.
show more ...
|
#
d0b09a7b |
| 20-May-2021 |
Joe Watkins |
Add first-class callables Support acquiring a Closure to a callable using the syntax func(...), $obj->method(...), etc. This is essentially a shortcut for Closure::fromCallable().
Add first-class callables Support acquiring a Closure to a callable using the syntax func(...), $obj->method(...), etc. This is essentially a shortcut for Closure::fromCallable(). RFC: https://wiki.php.net/rfc/first_class_callable_syntax Closes GH-7019. Co-Authored-By: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
e1285c4a |
| 21-Mar-2021 |
Christoph M. Becker |
Deprecate $num_points parameter of image(open|filled)polygon Cf. <https://wiki.php.net/rfc/deprecations_php_8_1#num_points_parameter_of_image_open_filled_polygon>. Co-authored-by: M
Deprecate $num_points parameter of image(open|filled)polygon Cf. <https://wiki.php.net/rfc/deprecations_php_8_1#num_points_parameter_of_image_open_filled_polygon>. Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com> Co-authored-by: George Peter Banyard <7906688+Girgias@users.noreply.github.com> Closes GH-6789.
show more ...
|
#
4b3615a3 |
| 09-Jul-2021 |
Nikita Popov |
Deprecate strftime() and gmstrftime() These are deprecated in favor of date()/DateTime::format() (for locale-indendent formatting) and IntlDateFormatter::format() (for locale-depende
Deprecate strftime() and gmstrftime() These are deprecated in favor of date()/DateTime::format() (for locale-indendent formatting) and IntlDateFormatter::format() (for locale-dependent formatting). Part of https://wiki.php.net/rfc/deprecations_php_8_1.
show more ...
|
#
94916949 |
| 12-Jul-2021 |
Nikita Popov |
Deprecate SoapClient ssl_method option Instead use ssl stream context options instead. The direct equivalent would be crypto_method, but min_proto_version / max_proto_version are rec
Deprecate SoapClient ssl_method option Instead use ssl stream context options instead. The direct equivalent would be crypto_method, but min_proto_version / max_proto_version are recommended instead. Part of https://wiki.php.net/rfc/deprecations_php_8_1.
show more ...
|
#
52d3d0d8 |
| 15-Jun-2021 |
Nikita Popov |
Add limited support for new in initializers Add support for new expressions inside parameter default values, static variable initializers, global constant initializers and attribute
Add limited support for new in initializers Add support for new expressions inside parameter default values, static variable initializers, global constant initializers and attribute arguments. RFC: https://wiki.php.net/rfc/new_in_initializers Closes GH-7153.
show more ...
|
#
aa733e8a |
| 09-Jul-2021 |
Nikita Popov |
Deprecate filter.default There's a subtlety here regarding filter.default_flags. The RFC stated that no separate deprecation warning will be emitted for it, on the premise that it is
Deprecate filter.default There's a subtlety here regarding filter.default_flags. The RFC stated that no separate deprecation warning will be emitted for it, on the premise that it is only meaningful if filter.default is set. However, it turns out that even FILTER_UNSAFE_RAW (which is the "no-op filter") can be combined with stripping flags. However, this is compensated by the fact that this doesn't actually work when setting filter.default=unsafe_raw and non-default filter.default_flags -- the flags are simply ignored in that case. So everything works out in the end. Part of https://wiki.php.net/rfc/deprecations_php_8_1.
show more ...
|
#
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.
|