This page gives an overview of the current RFCs for PHP.
To create a new RFC, see How To Create an RFC.
Note: An RFC is effectively “owned” by the person that created it. If you want to make changes, get permission from the creator. If no agreement can be found, the only course of action is to create a competing RFC. In this case, the old RFC page should be modified to become an intermediate page that points to all the competing RFC's.
A new page in this RFC namespace will automatically be loaded with an RFC template. Customize as needed.
This is section is for RFCs that are currently being voted on.
This section is for RFCs that have been announced on the PHP “internals” mail list.
This section is for early drafts of RFCs that have NOT been announced on the PHP “internals” mail list.
isIdentical()
method override (future scope)Order in these sections: Language changes first, library changes later.
string|Stringable
to express string|object-with-__toString()
. (Created 2020-01-15)TypeError
for parameter parsing failures of internal functions. (Created: 2019-02-05, Voting started: 2019-02-19)openssl_random_pseudo_bytes()
fail closed and deprecate the second parameter (Created: 2019-10-19)ReflectionReference
class to allow detecting references and determining reference equality. (Created: 2019-01-15; Voting began: 2019-01-30)Serializable
. (Created: 2019-01-24, Voting start: 2019-03-01)list()
(Created 2016-04-07)pcntl_signal
handler (Created 2016-06-14)int
, float
, string
, bool
, true
, false
and null
in class names or namespaces. (Created 2015-02-18)<=>
(Created 2014-02-12, revived 2015-01-19)zend_parse_parameters
fail if a float value out of bounds, or NaN, is passed where an integer is expected. (Created 2014-09-22)Closure
class to allow calling bound to an object without pre-bindingempty(getArray())
etc.Note: Many RFCs in this list have been mass voted.
opcache.allow_cache=0
for opcache optimization without any caching (Created 2020-05-16)wddx_deserialize()
.ArrayIterator::seekKey()
and ArrayIterator::prev()
(Created: 2016-11-21)readonly
specifier to make properties writeable within a class, but only readable from outside (Created 2014-10-24)This section is for RFCs that had been in discussion, but did not have any activity or discussion about them recently. It can be because they have been deferred, obsoleted, or appear to have been abandoned, or because the authors need more work on them. Sorry if your RFC is added here and you feel it is still active; please move it back to the appropriate section.
scalar
pseudo-type for parameter and return types (Created: 2017-12-24)-W
option to turn on maximum error reporting, and a -Q
option for no error reporting. (Created 2011/07/05)use
syntax. (Created 2011/04/06)