rfc:deprecations_php_8_5

Differences

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

Link to this comparison view

Next revision
Previous revision
rfc:deprecations_php_8_5 [2024/09/26 19:00] – created girgiasrfc:deprecations_php_8_5 [2024/10/04 13:22] (current) – PDO's uri: scheme timwolla
Line 13: Line 13:
  
   * Deprecate ''key_length'' parameter of <php>openssl_pkey_derive()</php>   * Deprecate ''key_length'' parameter of <php>openssl_pkey_derive()</php>
 +  * Deprecate PDO's 'uri:' scheme
  
 ===== Proposal ===== ===== Proposal =====
Line 20: Line 21:
  
 ==== Deprecate key_length parameter of openssl_pkey_derive() ==== ==== Deprecate key_length parameter of openssl_pkey_derive() ====
 +
 +This parameter is useless and confusing for users. It just truncates lenght for ECDH but does nothing or fail for increasing lenghts and DH truncation. This was raised during the security audit.
  
 See: https://github.com/php/doc-en/pull/3789 See: https://github.com/php/doc-en/pull/3789
 +
 +==== Deprecate PDO's 'uri:' scheme ====
 +
 +Author: Tim Düsterhus <timwolla@php.net>
 +
 +TODO: https://github.com/php/php-src/blob/d7bdf902e5b88189037883d462e422838bd9be55/ext/pdo/pdo_dbh.c#L323-L335
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/deprecations_php_8_5.1727377214.txt.gz · Last modified: 2024/09/26 19:00 by girgias