Request for Comments

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.

In voting phase

  • Object typehint
    Proposes adding object type-hint and return-type (Created: 2016-08-12)

Under Discussion

This section is for RFCs that have been announced on the PHP “internals” mail list.

In Draft

This section is for early drafts of RFCs that have NOT been announced on the PHP “internals” mail list.


Process and Policy

Pending Implementation


Order in these sections: Language changes first, library changes later.

PHP Next (7.2)

PHP 7.1

PHP 7.0

PHP 5.6

PHP 5.5

PHP 5.4

Note: Many RFCs in this list have been mass voted.

PHP 5.3




This section is for RFCs that have been deferred, obsoleted, or appear to have been abandoned. Sorry if your RFC is added here and you feel it is still active; please move it back to the appropriate section.


  • Deprecate MCRYPT_RAND
    This RFC proposes the deprecation of MCRYPT_RAND in favor of selecting cryptographically secure pseudo-random number generators.
rfc.txt · Last modified: 2017/05/21 18:16 by pmmaga