Implemented in PHP 7.2

RFC Categories

    Allow loading extensions by name

    Author
    Target
    7.2
    This RFC proposes a unified way to configure the list of PHP extensions to load.

    Allow loading extensions by name

    Yes
    No
    Yes
    17 Votes (81%)
    No
    4 Votes (19%)

    Prevent number_format() from returning negative zero

    Author
    Craig Duncan
    Target
    7.2
    Calling number_format(-0.00) returns string(1) 0, however calling number_format(-0.01) returns string(2) -0.

    Prevent number_format() from returning negative zero

    Yes
    No
    Yes
    14 Votes (93%)
    No
    1 Votes (7%)

    Deprecate and Remove Bareword (Unquoted) Strings

    Author
    Rowan Collins
    Target
    7.2
    When PHP encounters an unquoted token such as FROB_ACTIVE, it tries to resolve it as a built-in or user-defined constant, but if no such constant exists, it tre...

    Raise severity of undefined constants to E_WARNING in 7.2, and Error in 8.0?

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

    Allow abstract function override

    Author
    @WesNetmo @ Twitter
    Target
    7.2

    Accept abstract function override?

    Yes
    No
    Yes
    16 Votes (84%)
    No
    3 Votes (16%)

    Deprecate and remove INTL_IDNA_VARIANT_2003

    Author
    cmb
    Target
    7.2
    As of ICU 55.1 (released 2015-04-01) the IDNA2003 APIs are deprecated, because UTS #46 should be preferred over the obsolete IDNA 2003 variant. However, the int...

    Deprecate and remove INTL_IDNA_VARIANT_2003

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

    Parameter Type Widening

    Author
    Niklas Keller
    Target
    7.2

    Parameter Type Widening

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

    Debugging PDO Prepared Statement Emulation v2

    Author
    Target
    7.2
    I previously submitted an RFC which was accepted and implemented. I had second thoughts about the implementation and would like to replace it with the approach ...

    Debugging PDO Prepared Statement Emulation v2

    Yes
    No
    Yes
    7 Votes (88%)
    No
    1 Votes (13%)

    Convert numeric keys in object/array casts

    Author
    Andrea Faulds
    Target
    7.2

    Accept the Convert numeric keys in object/array casts RFC for PHP 7.2?

    Yes
    No
    Yes
    21 Votes (95%)
    No
    1 Votes (5%)

    Debugging PDO Prepared Statement Emulation

    Author
    Target
    7.2
    PDO is built on the concept of prepared statements. It expects individual database drivers to manage statement execution, but also allows prepared statements to...

    Debugging PDO Prepared Statement Emulation

    Yes
    No
    Yes
    9 Votes (56%)
    No
    7 Votes (44%)

    Deprecate png2wbmp() and jpeg2wbmp()

    Author
    cmb
    Target
    7.2
    png2wbmp() and jpeg2wbmp() are the only direct image format conversion functions available in ext/gd which makes them rather special, particularly as libgd does...

    Deprecate png2wbmp() and jpeg2wbmp()

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

    Counting of non-countable objects

    Author
    Craig Duncan
    Target
    7.2
    Calling count() on a scalar or object that doesn't implement the Countable interface (http://php.net/manual/en/class.countable.php) returns 1. There are no know...

    Counting of non-countable objects

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

    get_class() disallow null parameter

    Author
    Danack
    Target
    7.2
    When null is passed as the parameter to get_class() inside a class context, the behaviour of the function can be highly surprising,

    get_class() disallow null parameter

    Yes
    No
    Yes
    15 Votes (83%)
    No
    3 Votes (17%)

    Object typehint

    Author
    Michał Brzuchalski
    Author
    Target
    7.2
    PHP 7 introduced scalar types for parameters and also for declaring return types for functions.

    Accepting the object typehint RFC for PHP 7.2?

    Yes
    No
    Yes
    32 Votes (91%)
    No
    3 Votes (9%)

    Object type should implement variance?

    Yes
    No
    Yes
    10 Votes (33%)
    No
    20 Votes (67%)

    Implement socket_getaddrinfo()

    Author
    David Walker
    Target
    7.2
    This RFC targets a reported feature request in #72733. The request is that PHP expose the C level function getaddrinfo(). This is a missing nice piece to the ...

    Implement socket_getaddrinfo family

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

    Argon2 Password Hash

    Author
    Charles R. Portwood II
    Target
    7.2
    Argon2, the recommended password hashing algorithm by the Password Hashing Competition, is a modern algorithm for securely hashing passwords. Argon2 addresses s...

    argon2_password_hash_revote

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

    Make Libsodium a Core Extension

    Author
    Scott Arciszewski
    Target
    7.2
    As we move towards PHP 7.0.0, we must look at the current state of cryptography in PHP. Libmcrypt hasn't been touched in eight years (last release was in 2007),...

    Libsodium as a Core Extension in PHP 7.2

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

    Use the current PECL syntax?

    Yes, \Sodium\foo
    No, sodium_foo
    Yes, \Sodium\foo
    15 Votes (39%)
    No, sodium_foo
    23 Votes (61%)

    Deprecations for PHP 7.2

    Author
    Target
    7.2
    This is a draft RFC for multiple deprecations targeting PHP 7.2. The RFC proposes to deprecate the listed functionality in PHP 7.2 and remove it no later than i...

    Deprecate and subsequently remove __autoload

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

    Deprecate and subsequently remove $php_errormsg

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

    Deprecate and subsequently remove create_function()

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

    Deprecate and subsequently remove mbstring.func_overload

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

    Deprecate and subsequently remove (unset) cast

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

    Deprecate and subsequently remove parse_str() without second argument

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

    Deprecate and subsequently remove gmp_random()

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

    Deprecate and subsequently remove each()

    Yes
    No
    Yes
    18 Votes (75%)
    No
    6 Votes (25%)

    Deprecate and subsequently remove assert() with string argument

    Yes
    No
    Yes
    25 Votes (96%)
    No
    1 Votes (4%)

    Deprecate and subsequently remove $errcontext argument of error handler

    Yes
    No
    Yes
    22 Votes (88%)
    No
    3 Votes (12%)

    Trailing Commas In List Syntax

    Author
    Sammy Kaye Powers
    Target
    7.2
    This RFC proposes allowing trailing commas for all list syntax.

    Allow trailing commas in function/method arguments (declarations and calls)

    Yes
    No
    Yes
    24 Votes (55%)
    No
    20 Votes (45%)

    Allow trailing commas in grouped namepaces

    Yes
    No
    Yes
    30 Votes (77%)
    No
    9 Votes (23%)

    Allow trailing commas in interface implementations on a class

    Yes
    No
    Yes
    8 Votes (22%)
    No
    29 Votes (78%)

    Allow trailing commas in trait implementations on a class

    Yes
    No
    Yes
    7 Votes (19%)
    No
    29 Votes (81%)

    Allow trailing commas in class member lists

    Yes
    No
    Yes
    7 Votes (19%)
    No
    29 Votes (81%)

    Allow trailing commas in use lists for anonymous functions

    Yes
    No
    Yes
    16 Votes (42%)
    No
    22 Votes (58%)