rfc:deprecations_php_8_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
rfc:deprecations_php_8_0 [2020/10/17 23:11]
girgias W.I.P. Add $http_response_header predefined variabel to the chopping board
rfc:deprecations_php_8_0 [2021/01/15 05:22]
girgias Add unserialize_callback_func INI setting to the list
Line 1: Line 1:
 ====== PHP RFC: Deprecations for PHP 8.1 ====== ====== PHP RFC: Deprecations for PHP 8.1 ======
   * Date: 2019-07-23   * Date: 2019-07-23
-  * Author: Nikita Popov <nikic@php.net>, George Peter Banyard <girgias@php.net>+  * Author: Nikita Popov <nikic@php.net>, George Peter Banyard <girgias@php.net>, Máté Kocsis <kocsismate@php.net>
   * Status: Under Discussion   * Status: Under Discussion
  
Line 23: Line 23:
   * %%''DatePeriod::__construct()''%%   * %%''DatePeriod::__construct()''%%
   * ''ctype_*()'' function family accepts ''int'' parameters   * ''ctype_*()'' function family accepts ''int'' parameters
 +  * Return by reference with void type
 +  * NIL constant defined by the IMAP extension
 +  * ''unserialize_callback_func'' INI setting
  
 ===== Proposal ===== ===== Proposal =====
Line 176: Line 179:
 See https://www.php.net/manual/en/reserved.variables.httpresponseheader.php See https://www.php.net/manual/en/reserved.variables.httpresponseheader.php
 We already deprecated/removed $php_errormsg and $HTTP_RAW_POST_DATA We already deprecated/removed $php_errormsg and $HTTP_RAW_POST_DATA
 +
 +==== Return by reference with void type ====
 +
 +''function &test(): void {}'' currently allows, probably shouldn't be?
 +
 +
 +==== NIL constant defined by the IMAP extension ====
 +The ''NIL'' constant corresponds to the value ''0'', and can be confused with ''null''.
 +
 +==== unserialize_callback_func INI setting ====
 +W.I.P. (but from my understanding this was used with __autoload() only - girgias)
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/deprecations_php_8_0.txt · Last modified: 2021/02/23 14:37 by nikic