Language and policy proposals from this contributor
RFCs are part of the process by which decisions are made about PHP. For more information about the RFC
process as well as viewing a full list of RFCs please visit the RFC section.
Partial Function Application enabled convenient creation of Closures that just defer to an existing function with some parameters already filled in with the rem...
Context Managers are a concept borrowed from Python. They provide a way to abstract out common control-flow and variable-lifetime-management patterns, leading ...
Partial Function Application (PFA) refers to the process of calling a function with only some of its required parameters, delaying the rest to a later time. It...
Implement partial application as outlined in the RFC?
The accepted Partial Function Application RFC proposed inheriting the optionality of ?-placeholdered parameters. This results in inconsistent user-facing behavi...
Make all ? placeholders in PFA required parameters?
Since OPcaches integration into the Open Source PHP project with PHP 5.5, OPcache has become an essential part of PHP, running PHP in production without OPcache...
PHP does not provide a direct way to fetch the currently registered error or exception handlers. Users who need to inspect these handlers must resort to a worka...
Transparent lazy-initialization of objects is an important part of many PHP applications. However, achieving this kind of laziness in userland is complex, limit...
The file upload feature in PHP allows extensions to be called back on some events. A few extensions use this to implement some sort of upload progress feedback,...
Anonymous functions in PHP can be verbose, in part due to the need to manually import used variables. This makes code using simple closures hard to read and und...
Currently the way globals work forces to pass a thread-local-storage pointer across function calls, which involves some overhead. Also, not all functions get th...