Implemented in PHP 7.3

RFC Categories

    Deprecate and Remove Case-Insensitive Constants

    Author
    Target
    7.3
    PHP currently supports both case-sensitive and case-insensitive constants. Case-insensitive constants see very little practical use, are subject to various inco...

    Deprecate (and later remove) case-insensitive constants?

    Yes
    No
    Yes
    39 Votes (100%)
    No
    0 Votes (0%)

    Deprecate and Remove image2wbmp()

    Author
    cmb
    Target
    7.3
    ext/gd has two functions to output WBMP 1) images: imagewbmp() and image2wbmp(). Both are supposed to handle the necessary monochrome conversion by different me...

    Deprecate and Remove image2wbmp()

    Yes
    No
    Yes
    14 Votes (100%)
    No
    0 Votes (0%)

    Make compact function reports undefined passed variables

    Author
    Gabriel Caruso
    Target
    7.3
    Recently, during a Coding Standards discussion, someone came up with the idea of forbidden the compact() function. One of the arguments was that this function d...

    Make compact function reports undefined passed variables

    Yes
    No
    Yes
    32 Votes (86%)
    No
    5 Votes (14%)

    is_countable

    Author
    Gabriel Caruso
    Target
    7.3
    In PHP 7.2, a Warning was added while trying to count uncountable things. After that, everyone was forced to search and change their code, to avoid it. Usually...

    is-countable function

    Yes
    No
    Yes
    25 Votes (100%)
    No
    0 Votes (0%)

    Argon2 Password Hash Enhancements

    Author
    Charles R. Portwood II
    Target
    7.3
    This RFC seeks to enhance the functionality initially introduced in http://wiki.php.net/rfc/argon2_password_hash through the addition of Argon2id as a hashing a...

    argon2_password_hash_enhancements

    Yes
    No
    Yes
    17 Votes (100%)
    No
    0 Votes (0%)

    PCRE2 migration

    Author
    ab
    Target
    7.3
    PCRE is the base for many core functionalities in PHP. Currently it is based on 8.x series which is a legacy library version today. It is supported by the mains...

    PCRE2 migration

    Yes
    No
    Yes
    26 Votes (100%)
    No
    0 Votes (0%)

    Allow a trailing comma in function calls

    Author
    Sammy Kaye Powers
    Target
    7.3
    Allowing a trailing comma in function calls will make it more convenient to append arguments in many contexts where it is common to call a function with lots of...

    Allow a trailing comma in function calls

    Yes
    No
    Yes
    30 Votes (75%)
    No
    10 Votes (25%)

    Flexible Heredoc and Nowdoc Syntaxes

    Author
    Target
    7.3
    The heredoc and nowdoc syntaxes have very rigid requirements. This has caused them to be, in-part, eschewed by developers because their usage in code can look u...

    Allow for the closing marker to be indented and for the leading whitespace to be stripped?

    Yes
    No
    Yes
    24 Votes (83%)
    No
    5 Votes (17%)

    Remove the trailing new line requirement from the closing marker?

    Yes
    No
    Yes
    26 Votes (76%)
    No
    8 Votes (24%)

    JSON_THROW_ON_ERROR

    Author
    Andrea Faulds
    Target
    7.3
    PHP has two functions for dealing with JSON, json_decode() and json_encode(). Unfortunately, both have suboptimal error handling. json_decode() returns null upo...

    Accept and merge JSON_THROW_ON_ERROR for PHP 7.3?

    Yes
    No
    Yes
    23 Votes (100%)
    No
    0 Votes (0%)

    Deprecations for PHP 7.3

    Author
    Target
    7.3
    This is a draft RFC for multiple deprecations targeting PHP 7.3. The RFC proposes to deprecate the listed functionality in PHP 7.3 and remove it in PHP 8.

    Deprecate (and subsequently remove) undocumented mbstring function aliases?

    Yes
    No
    Yes
    37 Votes (97%)
    No
    1 Votes (3%)

    Deprecate (and subsequently remove) integer needles in string search functions?

    Yes
    No
    Yes
    32 Votes (97%)
    No
    1 Votes (3%)

    Deprecate (and subsequently remove) fgetss() (and variations) and the string.strip_tags filter?

    Yes
    No
    Yes
    20 Votes (83%)
    No
    4 Votes (17%)

    Deprecate (and subsequently remove) support for defining a free-standing assert() function?

    Yes
    No
    Yes
    20 Votes (74%)
    No
    7 Votes (26%)

    Deprecate (and subsequently remove) FILTER_FLAG_(SCHEME|HOST)_REQUIRED flags?

    Yes
    No
    Yes
    31 Votes (100%)
    No
    0 Votes (0%)

    Deprecate (and subsequently remove) pdo_odbc.db2_instance_name php.ini directive?

    Yes
    No
    Yes
    29 Votes (100%)
    No
    0 Votes (0%)

    Same Site Cookie

    Target
    7.3
    Same-site cookies allow servers to mitigate the risk of CSRF and information leakage attacks by asserting that a particular cookie should only be sent with requ...

    Add samesite argument to setcookie, setrawcookie and session_set_cookie_params functions?

    Yes
    No
    Yes
    0 Votes (0%)
    No
    26 Votes (100%)

    Allow setcookie, setrawcookie and session_set_cookie_params to accept an array of options as fourth/second parameter, with the possible options being path, domain, secure, httponly and samesite?

    Yes
    No
    Yes
    21 Votes (88%)
    No
    3 Votes (13%)

    list() Reference Assignment

    Target
    7.3
    PHP has had list() assignment and reference assignment for a long time. However, it is not currently possible to use reference assignment with list(). This RFC ...

    list() Reference Assignments

    Yes
    No
    Yes
    17 Votes (71%)
    No
    7 Votes (29%)