rfc:deprecations_php_7_3

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:deprecations_php_7_3 [2018/07/09 08:44] – Start voting nikicrfc:deprecations_php_7_3 [2018/07/21 21:50] (current) – Implemented nikic
Line 2: Line 2:
   * Date: 2017-08-02   * Date: 2017-08-02
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Voting+  * Status: Implemented (in PHP 7.3)
   * Implementation: https://github.com/php/php-src/pull/3366 (unless other patch linked below)   * Implementation: https://github.com/php/php-src/pull/3366 (unless other patch linked below)
   * Discussion: https://externals.io/message/102394   * Discussion: https://externals.io/message/102394
Line 29: Line 29:
 Proposed action: Mark the functions as deprecated, so that a deprecation notice is emitted on every call. In PHP 8 these aliases will be removed. Proposed action: Mark the functions as deprecated, so that a deprecation notice is emitted on every call. In PHP 8 these aliases will be removed.
  
-<doodle title="Deprecate (and subsequently remove) uncodumented mbstring function aliases?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) undocumented mbstring function aliases?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 50: Line 50:
 Proposed action: Throw a deprecation warning if a non-string is passed as a needle to ''strpos'' or one of the above-listed functions. The deprecation warning should note that an explicit ''chr'' call may be used instead. In PHP 8 the deprecation warning will be removed and the needle parameter will be changed into a string. Proposed action: Throw a deprecation warning if a non-string is passed as a needle to ''strpos'' or one of the above-listed functions. The deprecation warning should note that an explicit ''chr'' call may be used instead. In PHP 8 the deprecation warning will be removed and the needle parameter will be changed into a string.
  
-<doodle title="Deprecate (and subsequently remove) integer needles in string search functions?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) integer needles in string search functions?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 61: Line 61:
 Proposed action: Mark ''fgetss()'', ''gzgetss()'' and ''SplFileObject::fgetss()'' as deprecated, so that a deprecation notice is emitted on every call. Generate a deprecation notice if the ''string.strip_tags'' stream filter is created. In PHP 8 the functions and the stream filter are removed. Proposed action: Mark ''fgetss()'', ''gzgetss()'' and ''SplFileObject::fgetss()'' as deprecated, so that a deprecation notice is emitted on every call. Generate a deprecation notice if the ''string.strip_tags'' stream filter is created. In PHP 8 the functions and the stream filter are removed.
  
-<doodle title="Deprecate (and subsequently remove) fgetss(), it'variations and the string.strip_tags filter?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) fgetss() (and variationsand the string.strip_tags filter?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 74: Line 74:
 Proposed action: Generate a compile-time deprecation warning if an ''assert()'' function is declared. In PHP 8 this becomes a compile-error. Proposed action: Generate a compile-time deprecation warning if an ''assert()'' function is declared. In PHP 8 this becomes a compile-error.
  
-<doodle title="Deprecate (and subsequently remove) support for defining a free-standing assert() function?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) support for defining a free-standing assert() function?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 87: Line 87:
 Implementation: https://github.com/php/php-src/pull/3322 Implementation: https://github.com/php/php-src/pull/3322
  
-<doodle title="Deprecate (and subsequently remove) FILTER_FLAG_(SCHEME|HOST)_REQUIRED flags?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) FILTER_FLAG_(SCHEME|HOST)_REQUIRED flags?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 102: Line 102:
 Implementations: https://gist.github.com/KalleZ/424ea78492cd5f4c2198cba6b25403d9 Implementations: https://gist.github.com/KalleZ/424ea78492cd5f4c2198cba6b25403d9
  
-<doodle title="Deprecate (and subsequently remove) pdo_odbc.db2_instance_name php.ini directive?" auth="nikic" voteType="single" closed="false">+<doodle title="Deprecate (and subsequently remove) pdo_odbc.db2_instance_name php.ini directive?" auth="nikic" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/deprecations_php_7_3.1531125877.txt.gz · Last modified: 2018/07/09 08:44 by nikic