RFCs do PHP#
Esta página fornece uma visão geral das RFCs atuais do PHP.
Para criar uma RFC, consulte Como Criar uma RFC.
Nota: Uma RFC é efetivamente "propriedade" da pessoa que a criou. Se quiser fazer alterações, obtenha permissão do criador. Se nenhum acordo for alcançado, a única alternativa é criar uma RFC concorrente. Neste caso, a antiga página da RFC deve ser modificada para se tornar uma página intermediária que aponta para todas as RFCs concorrentes.
Uma nova página no namespace RFC da wiki do PHP será automaticamente carregada com um modelo de RFC. Personalize conforme necessário.
Em Fase de Votação#
Esta seção é para RFCs que estão sendo votadas atualmente.
- Novos Recursos da
ext-dom
no PHP 8.4- Discussão iniciada em 22/05/2024.
- Votação iniciada em 10/06/2024.
- Adicionar Métodos de Abertura de Fluxo ao XML{Reader,Writer}
- Criada em 21/04/2024.
- Discussão iniciada em 22/04/2024.
- Votação iniciada em 13/06/2024.
Em Discussão#
Esta seção é para RFCs que foram anunciadas na lista de discussão "internals" do PHP.
- Static Constructor (Created 2024-06-18)
- Lazy Objects (Created 2024-06-03)
- Correctly name the rounding mode and make it an Enum ( Created 2024-04-21)
- Asymmetric visibility v2 (Created 2024-05-09)
- Transform exit() from a language construct into a standard function (Discussion started: 2024-05-08)
- OOP API for cURL extension (Created 2024-02-14, Discussion started: 2024-02-14)
- NotSerializable attribute (created 2023-11-26, discussion started 2023-12-09)
- Harmonise "untyped" and "typed" properties ( Created and discussion started: 2023-11-16)
- Closure self-reference (Discussion started: 2023-06-03)
- Allow getting the name of a variable during runtime \ Adds nameof() to get the name of variables, closures, and members during runtime. ( Discussion started: 2023-05-13)
- Clone with (Discussion started: 2023-04-17)
- New core autoloading mechanism with support for function autoloading ( Discussion started: 2023-04-10)
- Working With Substrings (Discussion started: 2023-02-14)
- Add file_descriptor() function (Discussion started: 2023-01-16)
- Add SameSite cookie attribute parameter (Discussion started: 2023-01-14)
- Unicode Text Processing (Created 2022-12-15)
- List\unique() and Assoc\unique() (Created 2022-12-01)
- shell_exec() $result_code parameter ( Created 2021-11-21)
- final class Deque (Created 2021-09-19)
- final class Vector (Created 2021-09-16)
- Default User-Agent for cURL
- Deprecate boolean to string coercion ( Created: 2021-06-22)
- Property Accessors (Created 2021-05-04)
- Autoload Classmap (Created: 2021-03-15)
- Concepts to improve mysqli extension (Created 2020-12-30)
- Wall-Clock Time Based Execution Timeout ( Created 2020-12-12)
- Named parameters explicit opt in (Created 2020-07-24)
- Objects can be declared falsifiable (Created 2020-07-14)
- Property write/set visibility (Created 2020-06-29)
- Change terminology to ExcludeList ( Created 2020-06-09)
- Change var_export() array syntax to use shorthand arrays ( Created 2020-03-29)
- __toArray() \ Add a new
__toArray() magic method (Created: 2019-08-28) - Prevent disruptions of conversations \ ( Created: 2019-09-19)
- Normalize arrays' "auto-increment" value on copy on write \ ( Discussion started: 2019-06-20)
- Alternative "use" syntax for Closures \ ( Discussion started: 2019-06-15)
- Nullable Casting \ Support nullable types in casting (Discussion started: 2019-04-06)
Em Rascunho#
Esta seção é para rascunhos iniciais de RFCs que NÃO foram anunciadas na lista
de discussão internals
do PHP.
- PHP License Update (Created 2024-05-09)
- Change the default of $characters in mb_trim function ( Created 2024-04-03)
- Invoke __callStatic when non-static public methods are called statically ( Created 2024-03-29)
- Remove disable_classes INI setting (Created 2023-09-29)
- Deprecations for PHP 8.4 (Created 2023-07-25)
- Introduce array_group and array_group_pair grouping functions ( Created 2023-06-01)
- Implicit Move Optimisation (Created: 2023-05-13)
- Access Scope from Magic Accessors ( Discussion started: 2023-01-19)
- Property Capture for Anonymous Classes (Created: 2022-04-13)
- Function interfaces
- Types for Local Variables (Created 2023-02-08)
- Miscellaneous Variable Functions (Created 2023-01-28)
- is_valid_utf8() (Created 2023-01-27)
- 2D Matrix Operations (Created 2023-01-24)
- gd imageexportpixels() and imageimportpixels() ( Created 2023-01-23)
- LiteralString (Created 2022-12-27)
- Random migration (Created 2022-12-22)
- Sorting Enum ( Created 2021-09-01 )
- Iterator chaining (Created 2021-03-20)
- Algebraic data types (Meta RFC) (Created 2020-11-11)
- Tagged Unions (Enums) (Created 2020-09-19)
- Pattern matching ''is'' keyword (Created 2020-11-11)
- ''isIdentical()'' method override (future scope)
- Advanced pattern matching (future scope)
- Type declarations in array destructuring expressions ( Created 2020-04-16)
- Variable declarations before usage \ Optionally require variables to be declared before usage (Created: 2019-09-19)
- Unbundle unmaintained extensions in PHP 8 \ Unbundle or assign the PHP Group as maintainer to unmaintained extensions ( Created: 2019-07-15)
- Comprehensions (short generators) \ Generator Comprehensions for PHP (Created: 2019-03-10)
- Improved Error Callback Mechanism \ This RFC aims to give extensions that intercept errors a better way to register their callbacks. (Created 2015-03-13)
- Add support for stream-wrapped URLs in opcode cache \ Adds a generic way to opcode-cache code generated through a stream wrapper. ( Created 2017/05/25)
Aprovadas#
Processos e Políticas#
- Casing of acronyms in class and method names ( Created and discussion started: 2024-04-05, Voting started 2024-02-22)
- Promote the PHP Foundation (Created 2024-01-06; Accepted 2024-02-01)
- Policy Repository (Created and discussion started 2023-12-04, Voting ended: 2024-01-22)
- Release cycle update (Created 2023-11-05, Discussion started: 2023-11-10, Voting started: 2024-04-09, Voting ends: 2024-04-29)
- Namespaces in bundled PHP extensions ( Created 2021-02-25)
- Abolish Short Votes \ Proposal to abolish voting periods of less than two weeks (Created 2019-03-21, Voting ended: 2019-04-22)
- Abolish Narrow Margins \ Proposal to abolish 50%+1 votes (Created 2016-11-17, Voting ended: 2019-02-22)
- Security Issue Classification \ Ratify reformed security issue classification. (Accepted 2016-11-18)
- PHP 5 Support Timeline\ Determine the Active & Support timelines for PHP 5.
- Reserve Even More Types in PHP 7 \ A proposal to reserve even more type names in PHP 7 (Created 2015-02-20)
- PHP 7.0 Timeline\ Define an agreed-upon timeline and milestones for PHP 7.0.
- Keeping the tests green \ This RFC proposes a policy for keeping PHP CI tests green.
- Define PHP 5.3 end of life\ The purpose of this RFC is to define when the PHP 5.3 series will no longer be supported.
- Release Process\ PHP release process.
- Voting Process\ PHP voting process.
- Magic Quotes\ This RFC proposes how we deal with magic quotes from PHP 5.3.0 to 6.0.0.
- Choosing a distributed version control system for PHP\ This RFC proposes to migrate the PHP SVN repo to a DVCS.
- PHP Version Control System\ This RFC discusses the switch from CVS to some other version tracking system
- Name of Next Release of PHP\ To settle what the name of the next major release of PHP shall be. (Created 2014-07-05)
- MD5 Release Checksum \ Deprecate MD5 checksums from Release process (Created: 2017-05-30)
- Class Naming \ Specify how to deal with abbreviations and acronyms in the coding standard (Created: 2017-06-03)
- Cleaning up unmaintained extensions \ (Created: 2016-08-07; Accepted: 2018-06-26)
- Migrating to GitHub Issues (Created 2021-11-01)
Implementação/Versão de Destino Pendente#
- #[\Deprecated] Attribute\ This RFC proposes an attribute to mark declarations as deprecated (Created 2020-05-07, Voting started: 2024-05-22, Voting ends: 2024-06-05)
- Support object type in BCMath (Created and discussion started: 2024-03-24, Voting started: 2024-05-01, Voting ends: 2024-05-16)
- Property access hooks (Created 2022-12-01, Voting started 2024-04-15, Voting ended 2024-04-29)
- Deprecate GET/POST sessions (Created 2024-03-03, Discussion started: 2024-03-03, Voting started: 2024-04-09, Voting ends: 2024-04-23)
- Adding bcround, bcfloor and bcceil to BCMath ( Created 2023-10-01)
- APXS LoadModule\ This RFC proposes the addition of an option to the configure script that allows the user to specify whether the main Apache .conf file should be appended with the LoadModule entry.
- DateTime and Daylight Saving Time Transitions\ Defines expected behaviors and new features to improve how DateTime handles Daylight Saving Time transitions.
- PHP 9.0: Undefined Property Error Promotion ( Created: 2022-04-04)
- PHP 9.0: Undefined variables error promotion ( Created: 2022-02-17)
- PHP 9.0: Removal of ${} string interpolation ( Created on 2021-03-13)
- Resource to object conversion (Created 2023-10-31, Discussion started: 2023-11-12, Voting started: 2024-01-05, Voting closed: 2024-01-19)
Implementadas#
Ordem nestas seções: Mudanças na linguagem primeiro, mudanças na biblioteca depois.
PHP 8.4#
- array_find (Voting ended: 2024-05-29)
- new MyClass()->method() without parentheses ( Created 2023-12-29, Discussion started: 2024-04-08, Voting started: 2024-05-09, Voting ended: 2024-05-24)
- Deprecate implicitly nullable parameter types ( Created 2023-12-20, Discussion started: 2024-01-22, Voting started: 2024-02-28, Voting ended: 2024-03-13)
- Grapheme cluster for str_split function: grapheme_str_split ( Created 2024-03-04, Discussion started: 2024-03-09, Voting ends: 2024-04-10)
- Multibyte for ucfirst and lcfirst functions (Created 2024-01-16, Discussion started: 2024-01-18, Voting started: 2024-02-21, Discussion restarted: 2024-02-06, Voting closed: 2024-03-07)
- clear)_last_response_headers() function ( Created: 2024-01-03, Discussion started: 2024-01-03, Voting start: 2024-01-29, Voting closed: 2024-02-14)
- RFC1867 for non-POST HTTP verbs (Created 2023-10-06)
- Change how JIT is disabled by default (Created 2023-11-15)
- DOM HTML5 parsing and serialization (Created 2023-08-12, Discussion started: 2023-09-02, Voting started: 2023-10-02, Voting ended: 2023-10-16)
- A new JIT implementation based on IR Framework (Created 2023-09-20, Discussion started: 2023-09-21, Voting ended: 2023-10-19)
- XML_OPTION_PARSE_HUGE (Created 2023-09-21, Discussion started: 2023-09-21, Voting started: 2023-10-07, Voting closed: 2023-10-21)
- Increasing the default BCrypt cost (Created 2023-09-07)
- Multibyte for trim function mb_trim, mb_ltrim and mb_rtrim ( Created 2023-10-19)
- New 4 rounding modes to round() function ( Created: 2023-09-31)
- PDO driver specific sub-classes (Created 2022-06-20, Voting start: 2023-07-03, Voting closed: 2023-07-17)
- Improve callbacks in ext/dom and ext/xsl ( Created 2023-11-05, Discussion started: 2023-11-07, Voting started: 2023-12-21, Voting ended: 2024-01-11)
- Opt-in DOM spec-compliance (Created 2024-01-13, Discussion started 2024-01-17, Voting started 2024-02-13, Voting closed: 2024-02-27)
- Dedicated StreamBucket class (Created 2024-01-19, Discussion started: 2024-01-19, Voting started: 2024-03-28, Voting ended: 2024-04-11)
- Unbundle the imap, pspell, and oci8 extensions ( Created 2023-08-27)
- Raising zero to the power of negative number ( Created 2024-01-11)
- Analisadores SQL Específicos do Driver PDO
- Criada em 11/04/2024.
- Discussão iniciada em 17/04/2024.
- Votação iniciada em 03/06/2024.
- Aprovada em 17/06/2024.
PHP 8.3#
- Deprecations for PHP 8.3 (Created 2022-08-01)
- Path to Saner Increment/Decrement operators ( Discussion started: 2023-01-17, Voting start: 2023-06-28, Voting end: 2023-07-12)
- Marking overridden methods (#[\Override]) ( Created: 2023-05-06, Voting started: 2023-06-14)
- Arbitrary static variable initializers ( Created 2022-11-06)
- Make unserialize() emit a warning for trailing data ( Discussion started: 2023-03-27)
- Dynamic class constant fetch (Created 2022-11-04)
- Improve unserialize() error handling ( Created 2022-09-01, Voting opened 2022-10-14, Voting closed 2022-10-28)
- Readonly amendments (Created 2022-10-24)
- Typed Class Constants (Discussion started: 2023-01-31, Voting started: 2023-02-27)
- Deprecate remains of string evaluated code assertions ( Created: 2023-05-31, Voting start: 2023-06-28, Voting end: 2023-07-12)
- mb_str_pad (Created: 2023-05-19, Discussion started: 2023-05-20, Voting started: 2023-06-05, Voting closed: 2023-06-19)
- product)() (Discussion started: 2023-01-17, Voting opened 2023-02-20, Voting closed 2023-03-06, Implemented: 2023-03-07)
- Define proper semantics for range() function ( Discussion started: 2023-03-27, Voting started: 2023-06-01, Voting ended: 2023-06-15)
- Randomizer Additions (Created 2022-10-09)
- More Appropriate Date/Time Exceptions (Created 2022-11-29, Implemented: 2023-02-08)
- json_validate function (Created 2022-08-14, Voting closed: 2022-10-07)
- Use exceptions by default in SQLite3 extension
- Deprecate functions with overloaded signatures ( Discussion started: 2023-04-27, Voting started: 2023-06-26, Voting ended: 2023-07-10)
PHP 8.2#
- Constants in Traits (Created 2022-06-21, Voting closed: 2022-07-19)
- Random Extension 5.x (Created 2021-05-19, Voting closed: 2022-06-28)
- Random Extension Improvement (Created 2022-06-16, Voting closed: 2022-07-16)
- Fetch properties of enums in const expressions ( Created 2022-05-27)
- Disjunctive Normal Form Types (Created 2021-11-04, Voting opened: 2022-06-17, Voting closed: 2022-07-03)
- Add true type (Created 2022-04-07, Voting opened: 2022-05-29, Voting closed: 2022-06-12)
- MySQLi Execute Query (Created 2022-04-21, Voting opened: 2022-05-11, Voting closed: 2022-05-25)
- Readonly classes (Created 2021-08-04)
- Allow null and false as stand-alone types ( Created 2022-02-20, Voting start: 2022-03-12, Voting end: 2022-03-27)
- Locale-independent case conversion (Created 2021-09-22)
- Deprecate partially supported callables ( Created 2021-09-02)
- Expand deprecation notice scope for partially supported callables ( Created 2022-05-12, Voting opened: 2022-05-31)
- Deprecate dynamic properties (Created 2021-08-23)
- Redacting parameters in back traces ( Created 2022-01-10 )
- Deprecate ${} string interpolation ( Created on 2021-03-13)
- Remove support for libmysql from mysqli ( Created 2022-01-06)
- Deprecate and remove utf8_decode() and utf8_encode()
- Make the iterator_*() family accept all iterables ( Created 2022-06-21, Voting opened: 2022-07-05)
PHP 8.1#
- Disable autovivification on false (Created 2021-05-25)
- Pure intersection types (Created 2021-03-23, Voting started 2021-06-03, Voting ended 2021-06-17, Merged 2021-07-05)
- Add IntlDatePatternGenerator (Voting started 2021-05-14 and ended 2021-05-28)
- Deprecate implicit non-integer-compatible float to int conversions ( Voting started 2021-04-01, Voting ended 2021-04-14)
- Enumerations (Created 2020-09-19)
- Deprecate passing null to non-nullable arguments of internal functions ( Created 2020-12-01)
- Array unpacking with string keys (Created 2021-01-07)
- Add array_is_list(array $array): bool (Created 2020-12-19)
- Explicit octal integer literal notation ( Created: 2020-10-20, Voting Started: 2020-11-11, Voting Ended: 2020-11-25, Merged into master: 2021-01-04)
- Restrict $GLOBALS usage (Created 2020-12-02)
- Change Default mysqli Error Mode (Created 2021-01-20)
- Add fetch_column method to mysqli (Created 2021-03-28)
- Mysqli bind in execute (Created 2021-02-11)
- fsync() Function (Created 2021-01-30)
- noreturn type (Voting started 2021-03-30)
- Fibers (Created 2020-12-04)
- Phasing out Serializable (Created 2020-12-07)
- Static variables in inherited methods ( Created 2021-02-23)
- Add return type declarations for internal methods ( Created 2021-03-06)
- Final class constants (Created 2021-05-04)
- Make reflection setAccessible() no-op ( Created 2021-06-13)
- New in initializers (Created 2021-03-02)
- Deprecations for PHP 8.1 (Created 2019-07-23)
- First-class callable syntax (Created 2021-05-20)
- Readonly properties 2.0 (Created 2021-06-02)
PHP 8.0#
- Shorter Attribute Syntax Change ( Created 2020-07-28)
- Don't automatically unserialize Phar metadata outside getMetadata() ( Created 2020-07-07)
- Reclassifying engine warnings \ Reevaluate the current level of various engine notices/warnings. (Created: 2019-08-27)
- Shorter Attribute Syntax \ Use ''@@'' instead of ''%%<<>>%%'' for attributes in PHP 8.0 (Created 2020-06-03)
- Ensure correct signatures of magic methods ( Created 2020-04-05)
- Named Arguments\ This RFC proposes introducing named arguments. (Created 2013-09-06)
- Treat namespaced names as single token ( Created 2020-06-16)
- Saner string to number comparison \ Proposes to change non-strict comparisons between strings and numbers to behave more reasonably. (Created: 2019-02-26)
- Saner numeric strings (Created 2020-06-28)
- Nullsafe operator \ Add new ?-> operator that skips null values (Created 2020-06-02)
- Allow trailing comma in closure use lists ( Created 2020-07-01)
- Configurable string length in getTraceAsString() ( Created 2020-06-27)
- Remove inappropriate inheritance signature checks on private methods \ Proposes that inappropriate inheritance checks are removed for private methods (Created: 2017-02-07)
- Match expression v2\ Introduce match expression ( Created 2020-05-22)
- Attribute Amendments\ Group Syntax, Rename PhpAttribute, Target Validation, Repeatable (Created 2020-05-20)
- Make sorting stable\ Make all sorts in PHP stable by default (Created 2020-05-12)
- Constructor Property Promotion \ Adds a short-hand syntax to combine declaration of properties and the constructor. ( Created 2020-03-26)
- Attributes (v2) \ Add structured metadata to declarations (classes, functions, properties, constants) for internal and userland use-cases. (Created 2020-03-09)
- Unbundle ext/xmlrpc \ (Created 2020-04-25; Accepted 2020-05-26)
- Always available JSON extension \ (Created 2020-04-29)
- Non-capturing catches \ Allow catching exceptions without a variable (Created 2020-04-05)
- Mixed type v2 \ Add the mixed type (Created 2020-03-22)
- Locale-independent float to string cast ( Created 2020-03-11)
- Change default PDO error mode (Created 2020-03-28)
- Stricter type checks for arithmetic/bitwise operators ( Created 2020-04-02)
- Add str_starts_with and str_ends_with to PHP ( Created 2020-03-25)
- Allow trailing comma in parameter list ( Created 2020-03-26)
- throw expression\ Convert throw statement into an expression (Created 2020-03-21)
- Object-based token_get_all() alternative\ Adds an object-based token_get_all() alternative, which is more ergonomic and uses less memory. (Created: 2020-02-13)
- Abstract trait method validation \ Enforce signature of abstract trait methods. (Created: 2020-02-07)
- Stringable \ Allow using ''string|Stringable'' to express ''string|object-with-%%__toString()%%''. (Created 2020-01-15)
- Allow ::class on objects \ Adds support for ''$object::class''. (Created: 2020-01-09)
- Static return type \ Adds support for ''static'' as a return type. (Created: 2020-01-08)
- Variable Syntax Tweaks \ Fixes variable syntax edge cases. (Created: 2020-01-07)
- Union Types v2 \ A proposal to add union types (Created 2019-09-04)
- DOM Living Standard API \ Upgrade DOM API to latest standard version (Created: 2019-03-13)
- Always generate fatal error for incompatible method signatures \ Resolve inconsistent handling of abstract and non-abstract methods during inheritance. (Created: 2019-04-08)
- Arrays starting with a negative index \ Proposes to make implicit array keys consistent. (Created: 2017-04-20)
- Consistent type errors for internal functions \ Consistently throw ''TypeError'' for parameter parsing failures of internal functions. (Created: 2019-02-05, Voting started: 2019-02-19)
- JIT \ Just in Time Compiler. (Created: 2019-01-28)
- Weak maps \ Add a ''WeakMap'' class (Created: 2019-11-04)
- str_contains \ Adds a new function to return whether or not a string is contained within another. (Created: 2020-02-17)
- get_debug_type\ Adds a new function to return the true type name of a variable, automatically resolving class names. (Created: 2020-02-15)
- Add support for CMS\ Exposes CMS API from OpenSSL ( Created 2020-05-13)
PHP 7.4#
- Deprecations for PHP 7.4 \ Functionality to be deprecated in PHP 7.4. (Discussion started: 2019-06-21)
- Deprecate alternate access to array elements and chars in string \ Deprecate curly braces array and string syntax access. (Created: 2019-03-12; Discussion started:2019-03-15; Voting started: 2019-07-03; Voting ends: 2019-07-17; Accepted: 2019-07-17)
- E_WARNING for invalid containers \ Raise E_WARNING for array access on invalid containers (Created 2016-07-27)
- Base Convert improvements \ Changes to base convert to warn the user when incorrect values are passed. Also allow negative numbers to be parsed. (Discussion started: 2019-05-18 | Accepted 2019-07-05)
- Numeric Literal Separator \ Enable improved code readability by supporting an underscore between digits in numeric literals. (Accepted: 2019-06-13)
- Covariant Returns and Contravariant Parameters \ ( Announced: 2018-11-26; Voting began: 2018-12-19)
- Allow throwing exceptions from __toString() \ Support throwing exceptions from %%__toString()%%. (Created: 2019-04-30)
- Spread Operator in Array Expression \ ( Created: 2018-10-13)
- Deprecate left-associative ternary operator \ Deprecate nesting of ternaries without explicit use of parentheses. (Created: 2019-04-09)
- Arrow functions 2.0 \ Adds short closures / arrow functions.
- Deprecate and remove ext/interbase \ Deprecate and eventually remove the InterBase extension in the Core (Created 2019-03-22)
- weakrefs \ (Created: 2018-05-17, Voting started: 2019-02-22)
- FFI - Foreign Function Interface \ (Announced: 2018-12-06; Voting began: 2018-12-20; Accepted: 2019-01-09)
- Typed Properties 2.0 \ Add support for typed properties, including static properties and references to typed properties. ( Created: 2018-06-15)
- Null Coalesce Equal Operator \ Allow shorthand for self assigning null coalesce operator (Created 2016-03-09)
- Preloading \ Preload PHP functions and classes once and use them in the context of any future request without overhead. (Created: 2018-10-18)
- Always available hash extension \ Proposes to make the hash extension available to every build of PHP. (Created: 04/09-2018)
- Password Hash Registry \ Make the mechanisms used by password_hash/verify/etc... extensible by other modules. (Created: 2018-10-15)
- Improve openssl_random_pseudo_bytes() \ Proposes making ''openssl_random_pseudo_bytes()'' fail closed and deprecate the second parameter (Created: 2019-10-19)
- mb_str_split() Split multibyte string \ (Announced: 2019-01-02; Voting began: 2019-01-10; Accepted: 2019-01-20; Implemented: 2019-02-12)
- Reflection for references \ Introduces the '' ReflectionReference'' class to allow detecting references and determining reference equality. (Created: 2019-01-15; Voting began: 2019-01-30)
- Unbundle ext/wddx \ (Announced: 2018-09-16; Voting began: 2019-01-17 Voting finished: 2019-01-31)
- New custom object serialization mechanism \ Introduces new custom object serialization mechanism to replace '' Serializable''. (Created: 2019-01-24, Voting start: 2019-03-01)
- Change the precedence of the concatenation operator \ Update the precedence of concatenation to be inferior to addition and subtraction (Created: 2019-03-28)
- Argon2 support from sodium \ Provide password_hash() support for argon2i/argon2id from ext/sodium if standard does not. (Created: 2019-04-05)
- Unbundle ext/recode \ (Discussion started: 2019-06-14; voting started: 2019-06-28; voting ends: 2019-07-12)
- Escape PDO "?" parameter placeholder \ Changes to PDO to allow using operators containing "?" with pdo_pgsql, most commonly the JSON key exists "?" operator. (Discussion started: 2019-05-31; Voting started: 2019-07-08; Accepted: 2019-07-22)
PHP 7.3#
- Flexible Heredoc and Nowdoc Syntaxes\ Allow indentation of, and remove newline requirement after, Nowdoc/Heredoc closing markers (Published: 2017-09-16, Accepted 2017-11-16)
- Allow a trailing comma in function calls ( Published 2017-10-07)
- JSON_THROW_ON_ERROR \ Adds a flag to change the JSON extension's error-handling behaviour (Created: 2017-09-10)
- PCRE2 Migration (Published 2017-10-16)
- list() Reference Assignment\ This RFC proposes a new syntax to enable reference assignment with list(). (Created 2013/10/25, withdrawn 2014-05-15, Commandeered and Reopened: 2016-12-30, Accepted 2017-02-22)
- is_countable function (Created: 2018-01-21)
- array_key_first(), array_key_last() \ Add functions for handling the outer keys of an array (Created: 2018-06-11; Voting from 2018-07-09 to 2018-07-16)
- Make compact function reports undefined passed variables \ ( Created: 2018-05-24; Voting from 2018-06-06 to 2018-06-18)
- Argon2 Password Hash Enhancements \ ( Created: 2018-01-11; Voting from 2018-06-06 to 2018-06-18)
- Deprecate and Remove image2wbmp() \ (Created: 2018-05-11; Voting from 2018-05-26 to 2018-06-09)
- Deprecate and Remove Case-Insensitive Constants \ Support for case-insensitive constants is deprecated and scheduled for removal in the next major version.
- Deprecations for PHP 7.3 \ Miscellaneous minor deprecations for PHP 7.3.
- Same Site Cookie \ Add same site flag to cookies created by core cookie functions (Created: 2017-07-16)
PHP 7.2#
- Allow loading extensions by name (Created: 2016-05-10)
- Allow abstract function override \ Allow redefinition of "abstract functions" (Created: 2017-03-01)
- Prevent number_format() from returning negative zero \ Bring consistency to number_format() for negative zero. (Created: 2017-04-01)
- Convert numeric keys in object/array casts \ Fix an edge case in casting objects to arrays and vice-versa. (Created: 2016-10-21)
- Deprecate and Remove Bareword (Unquoted) Strings \ Raises the severity of "undefined constant" to E_WARNING and deprecates the fallback to interpreting as a string. (Created: 2017-01-29)
- get_class() disallow null parameter \ Prevent get_class() having astonishing behaviour
- Counting of non-countable objects \ Raise a warning when counting invalid objects. (Created: 2016-10-04)
- Parameter Type Widening \ Allow subclasses to omit a type entirely (Created: 2016-11-21)
- Trailing commas in list syntax\ Allow for trailing commas in all list syntax (Created 2015-11-03)
- Deprecate png2wbmp() and jpeg2wbmp() \ Deprecate and later remove the png2wbmp() and jpeg2wbmp() functions. (Created: 2016-10-15)
- Implement socket_getaddrinfo() \ Implement getaddrinfo() to socket extension. (Created: 2016-08-08)
- Argon2 in password hash \ Introduce Argon2 hashing algorithm to password functions (Created: 2016-07-10)
- Debugging PDO Prepared Statement Emulation \ Allow the output of this feature to be examined in userland. (Created: 2016-10-17)
- Debugging PDO Prepared Statement Emulation v2 \ Another approach to allowing the output of this feature to be examined in userland. (Created: 2016-11-17)
- HashContext as Object \ Change Hash Contexts to use Objects instead of Resources
- Deprecate and remove INTL_IDNA_VARIANT_2003 ( Created: 2017-01-07)
- Extended String Types For PDO \ Types to handle "national character," i.e. Unicode, string parameters. (Created: 2017-02-16)
- Improve TLS constants to sane values (Created 2017-05-15)
- Object typehint \ Proposes adding ''object'' type-hint and return-type (Created: 2016-08-12)
- LDAP EXOP \ Provide functions to use LDAP extended operations in php-ldap (Created: 2017-06-26)
- Libsodium \ Make Libsodium a Core Extension (Created 2016-01-07)
- Deprecations for PHP 7.2 \ Functions and features to be deprecated in PHP 7.2 (Created 2015-12-28)
PHP 7.1#
- Session ID without hashing \ Remove hash usage from session ID generation. (Created 2016-04-06)
- Asynchronous Signal Handling \ Asynchronous Signal Handling without TICKs and any additional overhead. (Created 2016-06-24)
- Fix inconsistent behavior of $this variable \ Fix all known inconsistencies related to special variable $this (Discussion began 2016-05-23)
- Replace "Missing argument" warning with "Too few arguments" exception \ ( Created 2016-06-01)
- Nullable Types \ Allow a type check to be of some type or null (Discussion began 2016-04-13)
- Square bracket syntax for array destructuring assignment \
An alternative syntax to
list() (Created 2016-04-07) - Warn about invalid strings in arithmetic \ Produce E_NOTICE or E_WARNING when using invalid numeric strings with arithmetic operators (Created 2016-01-08)
- Allow specifying keys in list() \ Adds syntax to help unpacking associative arrays into variables (Created 2016-01-17)
- Iterable \ Iterable pseudo-type accepting arrays or objects implementing Traversable (Created 2016-06-10)
- Generalize support of negative string offsets \ Add support for negative string offsets everywhere it makes sense (Created 2016-01-23)
- Closure from callable function \ Add a function to create closures from callables without reflection
- Deprecate mb_ereg_replace eval option \ This RFC aims at deprecating the e option that mb_ereg_replace and mb_eregi_replace provide.
- Deprecate (and remove) Mcrypt \ Let's get rid of ext/mcrypt, which is abandonware and inhibits the growth of the language, as soon as humanly possible. (Created 2016-01-09)
- OpenSSL AEAD support \ Adds support for AEAD cipher modes (GCM and CCM) to openssl_decrypt and openssl_encrypt.
- Void Return Type \ Adds a void return type to require that a function does not return a value. (Revived 2015-10-04, originally created 2015-02-14)
- Class constant visibility modifiers \ Introduce class constants visibility modifiers that mirror properties and methods. ( Created 2015/09/13)
- Octal Overflow Protection \ Stop quietly ignoring overflows in octal number parsing (Created: 2016-04-12)
- RNG fixes and changes \ Fixes and improvements to the random number generation subsystems (Created 2016-06-14)
- Add HTTP/2 Server Push support to ext/curl (Created 2015/10/01)
- TimeZone::getWindowsID (Created ( 2016/03/15)
- Multi catch \ Catching multiple exception types in a single catch statement (Created 2016/03/06)
- Forbid dynamic calls to scope introspection functions ( Created 2016-05-01)
- Add curl_multi_errno(), curl_share_errno() and curl_share_strerror() ( Created: 2016-04-29)
- Throw Error in Extensions \ Convert E_ERROR and E_RECOVERABLE_ERROR to throw Error in extensions (Created 2016-06-14)
- More precise float value handling \ This RFC proposes more precise float value handling.
- Additional Context in pcntl_signal Handler \ Adds a second array argument to ''pcntl_signal'' handler (Created 2016-06-14)
- Add session_create_id() \ Add session_create_id() function (Created 2016-04-07)
- Add session_gc() \ Add session_gc() function (Created 2016-04-06)
PHP 7.0#
- Random Functions throwing Exceptions \ This RFC proposes that the random_* functions should throw exceptions on failure.
- Throwable Interface \ Proposes a modification to the exception hierarchy for PHP 7, introducing a Throwable interface and Error class.
- Context Sensitive Lexer\ Proposal to have a context sensitive lexer for PHP with support for semi-reserved words (Created 2015-02-15)
- Add preg_replace_callback_array function\ A RFC proposing each pattern can easily have a specific callback.
- Reliable User-land CSPRNG\ A proposal to add a reliable CSPRNG (Created 2015-02-20)
- Anonymous Class Support\ This RFC proposes support for anonymous classes.
- Generator Delegation \ This RFC proposes new syntax to delegate generator function operations to sub-iterators/generators ( Created 2015-03-01)
- Reserve More Type Names in PHP 7 \ Reserves ''int'', ''float'', ''string'', ''bool'', ''true'', ''false'' and '' null'' in class names or namespaces. (Created 2015-02-18)
- Constructor behaviour of internal classes\ Cleanup undesirable behaviour of constructors internal classes. (Created 2015-03-01)
- Reclassify E_STRICT notices\ This RFC proposes to reclassify our few existing E_STRICT notices to different categories. (Created 2015-02-22)
- Remove PHP 4 Constructors\ Stop recognizing methods with the same name as the defining class as constructors. (Created 2014-11-17; Voting closed 2015-03-10)
- Remove the date.timezone warning \ ( Created 2015-01-27)
- Combined Comparison (Spaceship) Operator \ Proposes a new comparison operator, ''%%<=>%%'' (Created 2014-02-12, revived 2015-01-19)
- Fix "foreach" behavior \ The RFC defines foreach statement behavior for the cases where is wasn't defined before and implementation provided inconsistent results. (Created 2015-01-29)
- Removal of dead SAPIs and extensions\ Consideration about removing the unsupported SAPIs and extensions with unsupported dependencies.
- Remove deprecated functionality in PHP 7\ Proposes to remove functionality that has been deprecated in the PHP 5.x cycle in PHP 7. (Created 2014-09-11)
- Jsond \ Whether jsond should replace the current json extension. (Created 2015-01-11)
- Preserve Fractional Part in JSON encode \ Adds a new option for JSON encode to preserve fractional part on float numbers.
- Return Type Declarations\ Adds return types to functions, methods and closures. (Created 2014-03-20)
- Fast Parameter Parsing API\ Fast API in addition to zend_parse_parameters(). (Created 2014-05-23)
- Unicode Codepoint Escape Syntax\ Adds an escape sequence syntax for Unicode codepoints to string literals. (Created 2014-11-24)
- Native TLS\ Native TLS for internal globals in TS mode
- Null Coalesce Operator\ Adds the coalesce operator, ''??''
- Integer Semantics\ Improves cross-platform consistency in PHP for some operations dealing with integers
- ZPP Failure on Overflow\ Make '' zend_parse_parameters'' fail if a float value out of bounds, or NaN, is passed where an integer is expected. (Created 2014-09-22)
- Move the phpng branch into master\ Embrace the phpng codebase as the basis for the future major version of PHP. (Created 2014-07-20)
- Abstract Syntax Tree\ Proposes the introduction of an Abstract Syntax Tree (AST) as an intermediary structure in our compilation process.
- Uniform Variable Syntax\ Introduces an internally consistent and complete variable syntax.
- 64 bit platform improvements for string length and integer\ Integer and String modifications for full 64 bit support
- Closure::call\ Proposes a new method on the ''Closure'' class to allow calling bound to an object without pre-binding
- Fix list() behavior inconsistency\ Enable or disable string handling in list() operator
- Remove alternative PHP tags\ Removes ASP and script tags
- [[rfc:switch.default.multiple]]\ Disallow multiple defaults in switch statements
- Catchable "call to a member function of a non-object"\ Turns this fatal error into E_RECOVERABLE (Created 2014-04-26)
- Filtered unserialize()\ Add option to ignore all or some objects to unserialize() (Created 2013/03/30)
- ICU IntlChar class\ Adds an IntlChar class an intl_char_*() functions to the Intl extension.
- Introduce session_start() INI options as array\ Introduce session_start() options
- Remove hex support in numeric strings \ Removes support for hexadecimal numbers in numeric string conversions. ( Created 2014-08-19)
- Expectations\ This RFC proposes adding BC zero-cost assertions. (Created 2013-11-01)
- Group Use Declarations \ The RFC adds improvements to current PHP namespace implementation by introducing group use declarations. (Created 2015-01-28)
- Exceptions in the engine\ This RFC proposes to allow the use of exceptions in the engine. (Created 2014-09-30)
- Generator Return Expressions \ This RFC proposes the ability to specify and access return values from Generator functions
- Scalar Type Hints v0.5 \ This RFC proposes a mixed-mode scalar type system
- Continue output buffering \ Let the output buffer stack be usable despite an aborted connection
- intdiv()\ This RFC proposes adding an intdiv() function for integer division. (Created 2014-07-15)
- Fix handling of custom session handler return values\ Make false actually mean failure, not success.
- Turn gc_collect_cycles into function pointer \ Proposes to turn gc_collect_cycles into function pointer for extensions to hook into. ( Created 2012-12-11)
PHP 5.6#
- __debugInfo() magic method\ Support get_debug_info hook for userspace classes
- Exponential operator\ Exponential operator
- Importing namespaced functions\ Proposes to allow
importing namespaced functions through a new
use function
sequence. - Constant Scalar Expressions (with constants)\ This RFC proposes adding support for Constant Scalar Expressions with support for constants being operands.
- Remove calls from incompatible context\ Calls from incompatible context deprecated in 5.6 (will be removed in next version).
- Dedicated syntax for variadic functions\ This RFC introduces a dedicated syntax for variadic functions.
- Argument unpacking\ This RFC proposes a syntax for argument unpacking.
- Internal operator overloading and GMP improvements\ Add support for operator overloading in internal classes and improve GMP using it
- phpdbg\ Distribute phpdbg with PHP, a PHP debugger
- Slim POST data\ Use a temp PHP stream for HTTP payload.
- Crypt() function salt\ This RFC proposes changing crypt() function's salt parameter treatment.
- Apparmor change_hat functionality for php-fpm\ Proposes to add the possibility to change to a different hat under the apparmor LSM
- TLS Peer Verification\ Enable peer verification by default for encrypted client streams.
- Improved TLS Defaults\ Implement more secure defaults for encrypted stream transfers
- Default character encoding\ Default character encoding handling in PHP.
- 64 bit format codes for pack() and unpack()\ Adds format codes for converting 64 bit integers to and from binary strings.
- Timing attack safe string comparison function\ New function to perform time-constant string comparison (Created 2013/12/22)
PHP 5.5#
- Generators\ This RFC proposes adding generators as a simple and boilerplate-free way of defining iterators.
- support finally keyword\ Add try catch finally supporting
- Resolve class names to scalars via class keyword\ A proposal to use ::class after type names to resolve FQ class names as scalar
- foreach_variable supporting T_LIST\ This extends PHP's language parser to support T_LIST in foreach_variable
- Const array/string dereference \ A little improvement to make things consistent
- Allow arbitrary expression arguments to empty() and isset()\ Proposes to allow ''empty(getArray())'' etc.
- Integrating Optimizer+ into the PHP distribution\ This RFC proposes to integrate the Zend Optimizer+ opcode cache into the PHP distribution
- Adding hash_pbkdf2 function\ This RFC proposes adding a hash_pbkdf2 function to the hash package
- Add Simplified Password Hashing\ This RFC proposes adding 3 new functions to the core to expose a much simplified password hashing API.
- Remove preg_replace /e modifier\ This RFC aims at deprecating and subsequently removing the /e modifier ( PREG_REPLACE_EVAL) that preg_replace provides.
- Add UConverter\ A proposal to add ICU::UConverter functionality to ext/intl
- ext/mysql deprecation\ Formally deprecating ext/mysql in PHP.
- Cookie Max-Age attribute\ Cookie Max-Age attribute
- Fix cURL file uploading API\ Fix insecure cURL file uploading API
- Add recvmsg() and sendmsg() to ext/sockets\ Wrap sendmsg() and recvmsg(), with support for a limited number of message types
- PHP CLI changing process title support\ Setting PHP CLI process titles for visibility in 'top' or 'ps'
- Allow non-scalar keys in foreach\ This RFC proposes to remove the type restrictions on foreach iteration
- Add array_column() function\ This RFC proposes a new array function that returns the values of the specified column from a multi-dimensional array.
- Removal of curl-wrappers\ This RFC is about removing the curl stream wrappers of the PHP as of 5.5 and to move it on PECL for any eventual improvements.
- Strict Sessions\ This RFC proposes an additional security measure for preventing session fixation.
PHP 5.4#
Nota: Muitas RFCs nesta lista foram votadas em massa.
- Instantiating a class and calling methods/accessing properties on same command\ A proposal to add support to instantiating a class and calling its methods or accessing its properties on same command.
- Traits\ Traits is a mechanism for code reuse in single inheritance languages such as PHP. A Trait is intended to reduce some limitations of single inheritance by enabling a developer to reuse sets of methods freely in several independent classes living in different class hierarchies. This RFC proposes a basic version of Traits.
- Closures: Object Extension\ How to extend closures to work with $this and objects.
- Short syntax for arrays\ This RFC will discuss an language enhancement for simple and easy array definition.
- Function array dereferencing\ You know, like foo()['bar']
- Short tags in templates\ This RFC discusses ways to enable short tags template syntax in a way that would be easy for users and compatible with XML users' requirements.
- Indirect method call by array variable\ $arr = array('Class', 'method'); $arr();
- Supporting Binary Notation for Integers\ This extends PHP's syntax to support binary notation for integers just as it already does for decimal, octal, and hexadecimal representations.
- Built-in web server\ This RFC discusses the web server that is built into PHP itself, for development purpose.
- Removal of deprecated features\ RFC about removing legacy features in the next version of PHP
- Improve parser error messages\ Improve parser error message readability.
- Session upload progress\ Using sessions to provide upload progress feedback to users.
- Object oriented session handlers\ A proposal to allow session_set_save_handler() to accept an object, and expose the original session handler.
- Allow Multiple Simultaneous Syslog Connections\ This RFC propose enhancement to syslog function in order to allow multiple simultaneous connections by using resources.
- Stream meta-data\ RFC defines handler for setting metadata on stream URL.
- Error message formatting for development\ This RFC discusses error message formatting to aid developers.
- Zend Engine Performance Improvements\ Proposes Zend Engine changes which together make up to 20% performance improvement on synthetic benchmarks and some real-life applications
- Run Time Cache\ offers an implementation of run-time caching technique which may improve performance of repeatable code
- Zend Signal Handling\ Improve stability and speed when running under any forking SAPI by adding deferred signal handling to the Zend Engine.
- DTrace Probes for PHP\ Provide DTrace probes for PHP.
- New Output API\ An RFC about the New Output API
- Callable type hint\ Callable type hint
- LDAP: Add ldap_modify_batch \ This RFC proposes adding a lower-level modification function to the LDAP extension.
PHP 5.3#
- Closures\ This RFC proposes Closures and lambda functions for PHP.
- Namespace resolution order
- RFC on what namespace separator to choose
- HEREDOC with double quotes\ This RFC is about allowing double quote syntax similar to single-quotes in NOWDOC as a HEREDOC syntax variant (in PHP 5.3)
- LSB parent::/self:: forwarding\ Changes how parent:: and self:: work with LSB by making them forwarding.
- call_time_pass_by_reference\ This RFC proposes that call_time_pass_by_reference be switched off by default in PHP 5.3.
- New error level E_USER_DEPRECATED \ This RFC proposes to introduce a new userspace error level similar to E_DEPRECATED for user level deprecation warnings
- Rounding in PHP\ Make round() produce predictable results on all platforms and fix some problems in the process.
- Alternative to include/require for autoloaders\ This RFC aims to offer an alternative solution to the well known fopen() “hack” used in autoloaders in order to verify the existence of files inside the include path
- FPM SAPI\ This RFC discusses FPM SAPI and its inclusion to the core PHP distribution.
- FPM INI syntax\ This RDV discusses the replacement of FPM configuration file from XML to INI.
- New INI Files\ A proposal for two new INI files which will replace the current INI's packaged with PHP. One focused on production deployments and the other focused on development deployments.
- count_elements handler vs count()\ Internal change to allow some optimization and add consistency.
Recusadas#
- Rounding Integers as int (Created 2023-09-26, Voting ends: 2024-04-02)
- Final by default anonymous classes ( Created 2023-12-23, Discussion started: 2023-12-23, Voting started: 2024-01-15)
- Final anonymous classes (Created 2023-11-15)
- Change the edge case of round() (Created 2023-10-23)
- Support optional suffix parameter in tempnam ( Discussion started: 2023-08-08; Voting ends: 2023-09-10)
- Interface Default Methods (Created 2022-06-27, Discussion started: 2023-06-14, Voting start: 2023-07-02)
- PHP Technical Committee (Voting started: 2023-04-28)
- include cleanup (Created 2023-01-18)
- Asymmetric visibility (Created 2022-08-05)
- Destructuring Coalesce (Created 2022-10-16, Voting opened: 2022-11-07)
- New Curl URL API (Created 2022-06-21, Voting opened: 2022-07-04)
- json_encode indentation (Created 2021-06-03, Voting opened: 2022-07-04)
- Short Closures 2.0 (Created 2021-03-22, Voting opened: 2022-07-01)
- Create a global login experience for PHP.net (Created 2022-05-23)
- Stricter implicit boolean coercions ( Created 2022-05-16)
- Sealed Class ( Created 2021-04-24 )
- Move to RNG functions into ext/random (Created 2021-09-07)
- User-Defined Operator Overloads ( Created 2021-08-14)
- PHP RFC: Add array_group function ( Created 2021-11-28 )
- Nullable intersection types (Created 2021-07-22 )
- Is literal \ Allow developers/frameworks to check if variable is safe (created by literals); ref SQL/Command/HTML Injection. ( Created 2020-03-21)
- Pipe Operator V2 Syntax for creating native function pipelines (Created: 2020-04-20)
- Partial Function Application \ Add syntax for partially applying functions
- ImmutableIterable (rewindable, iterable, memory-efficient, allows any key&repeating keys) ( Created 2021-02-06)
- Short functions (Created 2020-09-26)
- Allow static properties in enums (Created 2021-05-17)
- OPCache direct execution opcode file without php source code file ( Created 2020-11-13)
- Object scoped RNG Implementations (Created 2020-12-20)
- PHP\iterable\any() and all() on iterables (Created 2020-08-30)
- var_representation() : readable alternative to var_export() ( Created 2021-01-21)
- Dump results of expressions in
php -a
( Created 2020-12-19) - PHP Namespace Policy \ Reserves the use of the \PHP and \Ext namespaces for zend and core extensions. (Created 2020-04-15)
- StackFrame class \ debug_backtrace alternative as an array of StackFrame objects (Created 2020-07-07)
- Make constructors and destructors return void ( Created 2020-06-17)
- Rename T_PAAMAYIM_NEKUDOTAYIM to T_DOUBLE_COLON ( Created 2020-04-11)
- Opcache optimization without any caching\ ini setting ''opcache.allow_cache=0'' for opcache optimization without any caching (Created 2020-05-16)
- PHP Namespace in core \ Allows the use of the \PHP namespace in core (Created 2020-03-25)
- Match expression\ Introduce match expression to address shortcomings of switch (Created 2020-04-12)
- Type casting in array destructuring expressions \ Adds the possibility to cast values while using array or list destructuring expressions (Created 2020-03-25)
- Compact Object Property Assignment \ Pseudo object literals (Created 2020-03-10)
- Userspace Operator overloading\ Allow users to overload operators (+, -, etc.) in their own classes (Created 2020-02-01)
- Server-Side Request and Response Objects\ This RFC proposes request and response objects that are wrappers for existing global PHP variables and functions, with some limited additional convenience functionality. (Created: 2016-21-21, revised 2020-02-10)
- Write-Once Properties \ Add support for a new property modifier that would allow properties to be initialized, but not modified afterwards. (Created: 2020-02-18)
- declare(function_and_const_lookup=global) \ Support skipping checking for global functions/consts in the current namespace before the global namespace. (Discussion started: 2020-01-01)
- Deprecate Backtick Operator v2 \ ( Created: 2019-10-04)
- Object initializer \ Add object initializer block to instantiate and initialize object in single expression (Created: 2019-09-03)
- PHP RFC: Deprecate short open tags, again \ Deprecate PHP's short open tags once again (Created: 2019-07-23, Announced: 2019-07-23; Voting: 2019-08-06 until 2019-08-20;)
- Add str_starts_with(), str_ends_with() and related functions \ Add functions to check if a string starts with, or ends with, a given substring. (Created 2016-08-01)
- Making stdClass iterable \ (Created: 2019-01-12; Voting began: 2019-02-04)
- iterable_to_array() and iterable_count() \ Add iterable_to_array() and iterable_count() functions (iterator_to_array() and iterator_count() siblings) that work with iterables (Created: 2018-06-20, Vote started: 2018-07-03)
- User-defined object comparison \ Object comparison using //%%__compareTo%%// and //%%__equals%%// (Created: 2018-06-26)
- Class Friendship \ A proposal to add class friendship ( Created 2018-06-27)
- Implement SQLite "openBlob" in PDO ( Created: 2017-09-26)
- UUID \ Proposes to include a native immutable UUID value object ( Created: 2017-05-25)
- Unary null coalescing operator \ Proposes a unary form of the null coalescing operator. (Created: 2017-06-21)
- Doxygen \ Start documenting the PHP C sources with Doxygen comments (Created: 2017-05-30)
- Binary String Deprecation \ Proposes the deprecation of the b prefix and binary cast (Created: 2016-12-11)
- Throwable code's type generalization \ Change Throwable::getCode() & co. so that they can be of any type (Created: 2016-12-18)
- User defined session serializer \ Implement user defined session serializer interface (Created: 2016-11-17)
- Add PHP Engine Identifier Constant (Created 2016/02/03)
- Add validation functions to filter module \ Add functions suitable for input validations. (Created 2016-08-03)
- New operator for context-dependent escaping \ New operator <?* ?> for HTML escaping and other contexts. (Created 2016-07-14)
- Enable session.use_strict_mode by default \ Enable session.use_strict_mode by default. (Created 2016-07-05)
- ''var_type()'' \ Successor for ''gettype()'' function ( Created: 2016-06-25)
- ''var_info()'' \ Extended version of ''var_type()'' function (Created: 2016-06-26)
- [[rfc:ReflectionTypeImprovements]] \ Improve ReflectionType's support for nullable and named types.
- Typed Properties \ Allow class properties to be typed (Created 2016-03-16)
- Union Types\ A proposal to add union types (Discussion began 2016-04-13)
- Callable prototypes \ Callable prototypes (Created 2015-08-27)
- Functional Interfaces \ Functional Interfaces ( Created 2016-04-17)
- PHP Attributes \ Native support for annotation (Discussion began 2016-04-22)
- ''var'' Deprecation \ Deprecating ''var'' in favor of ''public'' (Created 2016-03-10)
- Introduce script only require/include \ Introduce script only include/require to prevent script inclusion. (Created 2015-02-10)
- Precise Session Management\ Make session management precise. (Created 2015/03/21 )
- Number Format Separator \ Enable for numerical literals to be formatted for better readability (Created 2015-12-20)
- JSON numeric as string\ Proposes new options for dealing with the JSON number conversion problem by converting data to string.
- In Operator \ This RFC proposes a new operator for contains checks.
- Coercive Scalar Type Hints\ A proposal to add user-land coercive scalar type hints, and change internal function behavior to align with them (Created 2015-02-21)
- Make empty() a Variadic\ A proposal to make empty() accept any number of arguments (Created 2015-02-20)
- Allow error_handler callback parameters to be passed by reference \ ( Created 2015-01-26)
- pecl_http\ Whether to add pecl_http v2 to the core
- Skipping optional parameters \ Skipping optional parameters in function calls (Created 2012-04-13)
- PHP 5.7 \ Proposes a final minor version of PHP 5, PHP 5.7, with no new features but added deprecation notices. (Created 2014-12-15)
- Using objects as keys\ Allows to use objects as keys for arrays. (Created 2014-10-26)
- Abstract final classes / Static classes\ Language enhancement to support "abstract final classes" or "static classes". (Created 2014-11-26)
- Access to aliases definition by reflection \ Extends reflection for a getDefinedAliases() methods. (Created 2014/10/09)
- Safe Casting Functions\ Adds a set of safe casting functions for scalar types (Created 2014-10-21)
- Loop + or control structure\ Adds a default block to loops to be executed in the event that the loop is never entered.
- Bare Name Array Literal\ A shorter new syntax for array key-value pairs (Created 2014-06-01)
- Bare Name Array Dereference\ A shorter new syntax for dereferencing arrays with string keys (Created 2014-06-01)
- Array Of\ Proposed syntax for Type-Hinting against the contents or an array (Created 2014/01/15)
- Improve HTML escape\ This RFC proposes more secure HTML escape by escaping "/" (Vote period: 2014/02/16 - 2014/02/22) (Created 2014/02/02)
- Multibyte Char Handling\ This RFC proposes the way to handle multibyte chars. (Created 2014/01/16)
- Alternative mbstring implementation using ICU\ A proposal to completely rewrite mbstring extension with ICU. (Created 2011/04/06)
- 64 bit platform improvements for string length and integer\ Integer and String modifications for full 64 bit support
- Alphanumeric Decrement\ This will add support for decrementing alphanumeric strings (“ab”, for example) to complement the existing incrementing behaviour. (Created 2013/12/16)
- Exceptions in the engine\ This RFC proposes to allow the use of exceptions in the engine. (Postponed to PHP 6.)
- Extended keyword support\ This RFC proposes to widen keyword support.
- Class instances counter\ This RFC proposes a new function returning a list with class names and their instance counter.
- [[rfc:trailing-comma-function-args]]\ Allow a trailing comma in function calls, similar to array declarations
- Add an array_part() function\ Adds a function to extract multi-dimensional slices
- SplClassLoader\ Merge implementation of first proposal of PHP Standards Recommendation (PSR) into SPL core
- Annotations\ Class Metadata feature (aka Annotations) support in PHP
- ifsetor() Operator\ This RFC proposes an operator that efficiently implements (isset($foo) ? $foo : $bar) as ifsetor($foo, $bar)
- [[http://marc.info/?l=php-internals&m=121397217528280&w=2|Method overloading]]
- Non-breakable Traits\ This RFC is a extension to the basic proposal. It includes the notion of trait-local methods and properties.
- Function getEntropy\ Feature request for a new userspace function providing a truly random value.
- Property Accessors Syntax\ RFC for the addition of C#-style get/set accessors to PHP
- Alternative typehinting syntax for accessors\ Proposes an improved typehinting syntax for the accessors proposal.
- Automatic Property Initialization\ This RFC proposes automatic assignments of constructor arguments to properties. (Created 2013/09/27)
- Default parent constructors \ The RFC proposes that the parent constructors, destructors and clone operations were always callable even if not defined in parent class. (Created 2014-11-05)
Canceladas#
- Access Scope from Magic Accessors ( Created: 2023-01-19)
- Clamp \ Add new function clamp, which clamps a value inside a bound. (Created: 2021-06-23)
- Code optimizations (Created 2023-03-01)
- Auto-implement Stringable for string backed enums ( Created 2022-06-21)
- Arbitrary string interpolation (Created 2022-03-17)
- NULL Coercion Consistency ( Created 2022-04-05 )
- Add parse_query_string as an alternative to parse_str ( Created 2021-06-23)
- instanceof improvements \ Allow more ways to use ''instanceof'' (Created 2020-05-17)
- Increment/Decrement Fixes \ Fix some inconsistent cases of ++ and -- behaviour (Created 2020-03-01)
- Unwrap reference after foreach (Created: 2021-08-13)
- Consistent callables\ Consistent Callables ( Created 2015-09-28)
- Never for Parameter Types (Created: 2021-08-14)
- Deprecate ticks (Created 2021-05-11)
- debug_backtrace_depth(int $limit=0): int (Created 2021-03-13)
- println(string $data=""): int (Created 2021-03-13)
- Reserve keywords in PHP 8 (Created 2020-06-13)
- Locked Classes \ Allows classes to block dynamically adding and removing properties from their instances (Announced 2019-03-10)
- PHP RFC: Saner numeric strings)
- Switch Expression and Switch Statement Improvement \ Extend switch statement and introduce switch expression (Created: 2019-09-26)
- Language Constructs Syntax Changes \ Allow skip parentheses for declare and halt compiler (Created 2020-07-04)
- Strict operators directive \ Strict type-checking for operators (Created: 2019-05-25, Discussion started: 2019-06-25)
- Switch expression (Created 2020-03-28)
- Allow function calls in constant expressions \ ( Created 2020-02-20)
- Implement strrstr for consistency\ Add strrstr and strristr for consistency in standard library (Created: 2019-06-20; Discussion started: 2019-06-20; Withdrawn: 2019-07-03)
- PDO Float Type \ New parameter type to represent floating point values. (Created: 2017-04-05)
- array_change_keys() \ Add method to simplify re-keying an array (Created 2016-05-29)
- Deprecate and remove continue targeting switch \ Support for continue acting on switch is deprecated and scheduled for removal in the next major version.
- JSON failure warnings \ Raise warnings for json_encode() and json_decode() issues (Created: 2017-07-28)
- Namespaces in Core \ Proposal to allow namespaces in PHP core (Created: 2017-06-03)
- Deprecate class instance deserialization in WDDX \ Proposal to deprecate the ability to deserialize class instances via '' wddx_deserialize()''.
- ArrayIterator improvements \ Proposes adding ''ArrayIterator::seekKey()'' and ''ArrayIterator::prev()'' (Created: 2016-11-21)
- Use php_mt_rand() where php_rand() is used\ This RFC proposes replacing php_rand() function to php_mt_rand(). (Created 2014-07-17)
- Revisit trailing commas in function arguments\ Revisit trailing commas in function arguments (Created 2015-10-07)
- Short Closures (''~>'' operator) \ This RFC proposes an operator for shorter Closures.
- ReflectionParameter::getClassName() \ Add reflection method to access to a class name in a type hint (Created 2015-01-30)
- Big Integer Support\ Adds Big Integer support to PHP (Created 2014-06-20)
- Scalar Type Hints \ Adds four type hints for scalar types. (Created 2014-12-14)
- Deprecate function that modify INI\ There are number of functions that modify INI value. Let them deprecate and use ini_get()/ini_set(). (Other RFC is proposed)
- pecl_sync\ Whether PHP should support locking mechanism on its core
- Function Referencing as Closures\ Proposes a new syntax to allow referencing functions and methods as closures
- Readonly Properties\ Adds a ''readonly'' specifier to make properties writeable within a class, but only readable from outside ( Created 2014-10-24)
- Strict Argument Count On Function Calls \ This RFC proposes to sensibly add a strict argument count check for function calls on PHP7 (Created 2015-02-20)
- Add scalar type hinting with casts\ This RFC proposes adding scalar type hinting with casting to provide more robust parameter hinting. (Re-opened 2014-07-13)
- [Sessions: Improve original RFC about lazy_write]]\ An attempt at redesigning the accepted solution from [rfc:session-lock-ini.
- Make GMP number work like PHP number\ Make compatible PHP number
- Constant Scalar Expressions (re-opening)\ This RFC proposes adding support for Constant Scalar Expressions.
- Function Autoloading\ This RFC proposes to refactor the existing autoloading mechanism to support function and constant autoloading.
- Structural Type Hinting\ This RFC proposes a new type-hint format to allow run-time checking of Structural Types.
- Constant Scalar Expressions\ This RFC proposes adding support for Constant Scalar Expressions.
- Modify tempnam() to handle directories and auto-cleanup\ Add TEMPNAM_DIR and TEMPNAM_REQUEST options to tempnam()
- Parameter Type Casting Hints\ This RFC proposes adding type casting hints to function declarations.
- Who can vote?\ Define the participants of the voting process.
- Magic Quotes in PHP, the Finalé\ A safe, orderly manner for getting rid of Magic Quotes.
- Return value type hint\ Return type hinting
- Cast and Assign Magic Methods\ Feature request to expose object_cast, get and set to PHP land code via two new magic methods
- Add mysqlnd.localhost_override option\ This RFC proposes to add mysqlnd.localhost_override to more easily override localhost when connecting to a MySQL database.
- Allow use T_AS in closure use statement\ Allow user use a alias name for lexical variable of closure
- strn(case)cmp supporting a negative length as its third paramter\ This extends PHP's string function strn(case)cmp to support a negative length as parameter
- Nested Class Support\ This RFC proposes support for nested classes, following on from Anonymous Classes.
- Extending the JsonSerializable interface \ This RFC aims to allow creation of an object through JSON (Created 2015-07-13)
- Improve array to string conversion \ Proposes alternative behaviors for array to string zval conversion. (Created 2015/01/10)
- IntlCharsetDetector \ Wrap ICU's UCharsetDetector (Created: 2016-04-11)
- Kill proprietary CSV escaping mechanism \ (Created: 2018-09-27; Withdrawn: 2018-12-02)
Inativas#
Esta seção é para RFCs que estiveram em discussão, mas não houve nenhuma atividade ou discussão sobre elas recentemente. Pode ser porque foram adiadas, se tornaram obsoletas ou parecem ter sido abandonadas, ou porque as pessoas autoras precisam trabalhar mais nelas. Se a sua RFC foi adicionada aqui e parece que ela ainda está ativa, mova-a de volta para a seção apropriada.
- Short Match (Created 2020-12-13)
- Conditional Return, Break, and Continue Statements\ Conditional Return, Break, & Continues; aka "return early" (Created 2020-05-16)
- Deprecate Inconsistent Cast Names \ Deprecate cast names that are not valid as type declarations
- Error backtraces \ Add backtraces to error output ( Created 2020-05-25)
- Namespace-scoped declares \ Add ability to specify declare directives at the namespace level. (Created: 2016-09-20)
- Add PDO function: mysqlGetWarningCount ( Created 2021-02-26)
- Session strict mode default ini settings \ More secure ini defaults for sessions (Created: 2018-02-13)
- Disallow multiple constructor calls \
Raise an error on calling
$obj->__construct (Created: 2017-01-17) - Remove requirement for authority portion of user stream wrapper URIs \ Proposes additional flag allowing to use valid URI with StreamWrapper's ( Created: 2017-01-23)
- Comparison Chains \ Implement arbitrary chaining of comparator operations
- Create URLParser and URLBuilder Classes \ Proposed improvement beyond what parse_url() allows Created: 2016-10-04)
- Comparator interface \ Proposes introduction of Comparator interface (Created: 2016-09-27)
- Automatic CSRF protection \ Extend session module to provide automatic CSRF protection (Created 2016-05-10)
- Extending Exception backtraces to provide 'object' \ Extending Exception backtraces to provide 'object' (Created 11/04-2016)
- Add foreach iteration of keys without values \ Add new syntax to enable foreach iteration without retrieving values (Created 2016-01-09)
- Type Affinity \ This RFC proposes type affinity for inputs
- Parser Extension API \ This RFC proposes a userland API to fetch an AST for code and to provide parser extensions ( Created 2015/02/17)
- Support linking in stream wrappers\ Add support for links in stream wrappers by adding appropriate hooks
- Normalize string bitwise shifts\ Bitwise shifts to operate on string bytes instead of casting to integer.
- Consistent names for legacy functions/classes\ This RFC proposes to use alias to provide both legacy and consistent names.
- Inconsistent behaviors\ This RFC is to discuss/document inconsistent behaviors.
- Platform and extension-independent API to the system CSPRNG\ Request for Comments: Platform and extension-independent API to the system CSPRNG.
- Loop+Else control structure \ This RFC proposes an optional “else” clause that can be used after while, for, and foreach loops.
- Make the PHP core case-sensitive
- Restrict parameter parsing rules \ Restrict rules to accept and implicitely convert internal function input arguments.
- Sourcemaps \ Add support for Source Maps Revision 3
- Static class constructor \ Introduce a class constructor to initialize class state
- Typesafe Callable \ Allow typesafe callables ( Created 2016-04-04)
- Add cyclic string replace to str_[i]replace() functions ( Created 2015/01/05)
- PHP 8 Assertions (Created 2019-10-28)
- Allow void variance \ Allow void variance. ( Created: 2019-02-04)
- Namespace Visiblity for Class, Interface and Trait \ Add support for public, protected and private classes, interfaces and traits. (Created: 2018-07-18)
- Fiber \ Primitives for implementing light weight cooperative concurrency (Created: 2017-09-13 2018-06-11 to 2018-06-22)
- Deprecate PEAR/PECL & Replace with composer/pickle \ Proposes replacing pear/pecl with composer/pickle (Created: 2016-09-01)
- Callable constructors \ Allow constructors to be called as a callable (Created 2015-02-25)
- Anonymous Class Lexical Scope \ Anonymous Class Lexical Scope (Created 2016-04-19)
- Intersection Types (Discussion began 2016-04-28)
- Exception on constant redefintion \ Throw Exception on Attempt of Constant Redefinition (Created 2016-06-10)
- Retry keyword \ Proposes the implementation of the Retry keyword in Exceptions context. (Created: 2017-06-19)
- Enable strict_types checking for curl_setopt() \ Introduce strict type enforcement inside curl_setopt() when declare( strict_types=1) is being used. (Created: 2017-04-21)
- Deprecate PDO::PARAM_NULL (Created 2017-05-15)
- Deprecate uniqid() \ Proposes the deprecation of '' uniqid()'' (Created: 2017-05-24)
- Immutable classes and properties \ Proposes introduction of immutable classes and properties (Created: 2016-08-12, Reopened 2018-02-20)
- Deprecate backtick operator (Created: 2018-02-11)
- Deprecation of fallback to root scope \ Deprecation of fallback to root scope (Created: 2018-02-03)
- Scalar Pseudo-type \ Proposal to add ''scalar'' pseudo-type for parameter and return types (Created: 2017-12-24)
- Explicit call-site pass-by-reference\ Allow explicitly annotating by-reference argument passing at the call-site. ( Created: 2017-12-02)
- Operator functions \ Add counterpart functions for PHP's basic operators (Published: 2017-09-08)
- Traits with interfaces \ Allow traits to explicitly implement interfaces (Created 2016-02-17)
- Adopt Code of Conduct \ This RFC proposes that the PHP project should adopt a formal code of conduct for its members. ( Re-created 2016-01-21)
- Normalize token_get_all() output \ Allows specifying flag to normalize output of token_get_all()
- On-demand Name Mangling \ Replaces automatic super-global name mangling with an on-demand approach for those apps requiring it. (Updated 2016-01-08)
- index) functions \ Add functions to get the first/last/indexed array key and value. (Created 2016-01-01)
- Improve predictable PRNG random \ Fix predictable PRNG problems. (Created: 2017-02-01)
- SoapClient getLocation \ Add getLocation method to SoapClient (Created: 2016-12-06)
- Distrust SHA-1 Certificates \ Distrust SHA-1 starting in PHP 7.2 (Created: 2016-11-25)
- Secure serialization by authentication code \ Add authentication code protection to serialization.
- Default Value in List Assignment Syntax \ Allow set default values when using list assignment
- Automatic SQL injection protection \ This RFC enables automatic detection of SQL queries that are issued with a non-constant query parameter-string, with configurable evasive action on detection (i.e. ignore/log/throw).
- Introduce consistent function names \ This RFC proposes to have consistent function names that accord CORDING_STANDARDS.
- Introduce Design by Contract\ This RFC is vote only RFC for 2 Design by Contract introduction proposals.
- Native Design by Contract support as annotation \ This RFC proposes native Design by Contract support to PHP (Created 2015/02/04)
- Native Design by Contract support as definition \ This RFC proposes native Design by Contract support to PHP (Created 2015/02/10)
- Precise URL include control\ This RFC proposes precise URL include control.
- Comparable\ A proposal to add a Comparable interface for userspace object comparisons.
- Deprecate INI set/get aliases \ This RFC proposes INI set/get alias function deprecation. (Created 2015-01-28)
- Additional splat operator usage\ Allow splat operator to be used in array literals. (Created 2014-11-03)
- GitHub Pull Requests Triage Team\ Define a process for triaging GitHub pull requests. (Created 2014-10-30)
- Change checkdnsrr() $type argument behavior\ This RFC proposes that the default behavior of the checkdnsrr() function be changed such that it no longer checks only for MX records by default. (Created 2014-09-19)
- Binary String Comparison\ Non-strict binary string comparison
- password_hash function behavior\ Current password_hash()'s hash function has password length limitation. (Created 2014-07-23)
- ReflectionParameter Typehint accessors\ New API for accessing typehints on a reflection parameter.
- Secure Session Options\ This RFC proposes secure options for session module as default (Vote period: 2014/02/14 - 2014/02/21) (Created: 2014/02/01)
- Unify crypto source INI setting\ This RFC proposes unified crypto source settings. (Created 2014/02/13)
- Build OpenSSL module by default\ This RFC proposes building openssl module by default.
- gmp_number ( Created 2014/01/04)
- Add generic class and method support (Created 2015/04/28)
- Add resource typehint (Created 2015/11/11)
- Short Ternary Assignment Operator \ Allow shorthand for self assigning short ternary expressions (Created: 2016-03-10)
- Pipe Operator \ Syntactic sugar for chaining expressions (Created: 2016-04-29)
- Simple Annotations (Created: 2016-05-13)
- Improve hash_hkdf() parameter order and handling \ hash_hkdf() added to master(7.2) has non optimal parameter order and handling. (Created: 2017-02-05)
- Basic Scalar Types\ A RFC proposing pure scalar types (Created 2015-03-11)
- PECL versioning\ This RFC, about tackling the versioning issues in PECL extensions, has been implemented across PECL for several months. But what should be done about extension versioning in the PHP core?
- Improve consistency of protected member lookups\ This RFC proposes to eliminate an inconsistency in the way protected class members are resolved.
- Drop sql.safe_mode\ Dropping a php.ini setting affecting two extensions
- Get Random\ This RFC talks about how to get a (better) random string in PHP
- Error optimizations\ A way to optimize the formatting of our errors
- Function autoloading through spl_autoload*\ This RFC introduces a potential implementation for function autoloading which would be consistent with what we have for autoloading classes. (Created 2011/08/05)
- CLI options for strict and quiet modes\ This RFC proposes a ''-W'' option to turn on maximum error reporting, and a ''-Q'' option for no error reporting. (Created 2011/07/05)
- Add Logical Shift Operators\ Add logical shift operators for bitwise shifting of strings (Created 2011/07/18)
- Faster strtod algorithm\ This RFC proposes to add the Grisu3 strtod algorithm as an optional feature to PHP. (Created 2011/07/15)
- Isset Set Operator\ This RFC proposes new operators for handling unset/falsey variables.
- Scalar Type Casting Magic Methods\ This RFC proposes a set of new scalar type casting magic methods for classes.
- docBlock Parser\ Proposal to add docBlock parsing to the Reflection extension
- Annotations in doc block\ Class Metadata feature (aka Annotations) support in PHP through DocBlock
- Object and Array Literals\ This RFC proposes first-class, inline object and array literals similar to JSON.
- Weak References\ This RFC proposes the introduction of Weak References in PHP via a new SPL class.
- PDO Version 1 Improvements\ This RFC proposes a set of improvements to be made to PDO.
- Tainted variables\ This RFC proposes an implementation of variable tainting in PHP.
- Static classes\ This RFC proposes the introduction of static classes for PHP
- class casting to scalar\ This RFC proposes a
way to do like
__ toString(), for other scalar types - Autodefinition\ This RFC proposes the ability to define missing definitions (generalization of autoload).
- Line Markers in PHP\ This RFC proposes the introduction of line markers in PHP.
- Autoboxing\ Autoboxing feature in PHP
- Systemd socket activation\ Systemd socket activation support for PHP-FPM (Created 2012/10/18)
- Add a deprecated modifier for functions\ Add a deprecated modifier for functions (Created 2012/12/25)
- Clarifying/Improving the prototype checks\ This RFC discusses the current state of prototype checks, and gives some directions for discussion and improvement. (Created 2011/09/19)
- Introducing Jenkins\ This RFC proposes using Jenkins as a Continuous Ingtegration environment for the php project. (Created 2011/11/01)
- Support for anonymous catch-statements\ This RFC proposes adding catch-statements without variables, and fully anonymous catches. (Created 2013/06/25)
- Errors as Exceptions\ This RFC discusses the conversion of errors to exceptions (Created 2011/04/06)
- Proposed modifications to traits\ This RFC proposes three modifications to traits: increasing separation and consistency of inheritance vs. trait composition, adding trait-local scope, and extending ''use'' syntax. (Created 2011/04/06)
- Add toString to DateTime\ A proposal to add toString to DateTime (Created 2012/09/01)
- Property get/set syntax\ This RFC proposes to add a C# style property get/set syntax to PHP classes. (Created 2011-12-21 - document index)
- Make T_FUNCTION in method declarations optional.\ A proposal for removing the requirement to use T_FUNCTION in method declarations. (Created 2011/04/06)
- Jsonable interface\ Feature request to allow support json_( encode|decode) to handle Object instance conversions.
- Siberia\ This RFC proposes to create a cemetery for dead extensions (PECL or core).
- array_delete\ This RFC proposes adding array_delete() as an intuitive API for array element deletion. (Created 2012/08/22)
- Enhanced Error Handling\ This offers a concept and implementation to let the user (php coder) choose between php_error, exception et al while retaining backwards compatibility (Created 2009/12/27)
- Parameter (and Return) value type hints/checks\ Several RFC that propose to complete the actual parameter type hints/checks (and an implementation for return value type hints). (Created 2009/07/03)
- Better benchmarks for PHP\ A proposal for replacing current bench.php benchmarking script. (Created 2009/04/03)
- Remove reliance of Zend API\ A proposal to remove the use of the Zend API in PHP libraries. (Created 2009/03/29)
- PHP Native Interface\ Provide complete alternative to writing libraries interfaces using the Zend API libraries. ( Created 2009/04/05)
- Function call chaining\ Function call chaining implementation. (Created 2010/01/30)
- Source files without opening tag\ This RFC proposes a way to support source code files without <?php at the top.
- New File Type for Pure-Code PHP Scripts\ This RFC proposes the creation of a new .phpp file type for scripts that contain only PHP code without a <?php or ?> tag.
- Named Parameters.
- Lemon as a language parser\ This RFC discusses the switch from YACC/Bison to lemon for the main language parser
- Astract Syntax Tree RFC. ( Created 2012/09/04)
- Escaping RFC for PHP Core\ Implementing a core anti-XSS escaping class and possibly functions for the more procedurally inclined programmers. (Created 2012/09/18)
- Integrate voting polls in PHP.net\ This RFC talks about integration of voting polls into PHP.net (Created 2013/02/23)
- unset(): return bool if the variable has existed\ Add to unset a return value if the deletion was successful (Created 2013/03/06)
- Internal Serialize API\ This RFC proposes API for internal generating of serialization. (Created 2013/07/27)
- Normalizing increment and decrement operators\ This RFC proposes to make ++ and -- operators to work more intuitively. (Created 2013-12-19)
- Make PHP open tag optional for better security\ This RFC proposes option (php.ini and CLI opts) for removing PHP tags (<?php and so forth) from PHP scripts.(Vote period: 2014/02/16 - 2014/02/22) (Created 2012/04/12)
- Module API introspection\ Developer/Operations command-line API for checking module versions (Created 2014/01/24)
- Improve uniqid() uniqueness. \ Improve uniqid() uniqueness ( Created: 2016-09-12)
Obsoletas#
- is_json function ( Created 2022-08-14 )
- Allow null as standalone type (Created 2021-10-02)
- Enumerated Types\ A proposal to add enumerated types (Created 2015-04-08)
- Enumeration type (alternative proposal) \ Create enumeration type (Created 2020-05-16)
- Nullsafe calls \ This RFC proposes a new operator for propagating forward failures in a computation composed of method calls without the need for lots of boilerplate. (Created 2014-12-09)
- https://wiki.php.net/rfc/mixed_type_v2)
- Annotations 2.0 \ Annotations (Class Metadata) support in PHP (Created: 2019-02-05)
- Property Type-hints \ Introduce optional static type-hints and type-checking for properties.
- PHP RFC: Deprecate short open tags, again: 2019-07-23)
- Deprecate MCRYPT_RAND \ This RFC proposes the deprecation of MCRYPT_RAND in favor of selecting cryptographically secure pseudo-random number generators.
- Zend Pause API \ API to pause zend vm in extension ( Created: 2017-11-01)
- Loosening heredoc/nowdoc scanner\ More permissive scanner rules for heredoc/nowdoc (Created 2014-08-29)
- Arrow Functions \ A short form of closures similar to ES6's arrow functions (Created: 2016-08-14; Discussion began 2017-01-30)
- Short Closures \ Provide consistent syntax for creating closures from callable (Created: 2017-06-26)
- Native TLS in ZTS\ Improving performance of ZTS builds by using native thread local storage. (Created 2008/08/24)
- Simplified Named Arguments \ Introduce syntax for named arguments