lbarnaud

lbarnaud

Contributor Directory

RFCs

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 for instance of non-static methods ("$this")

Author
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

Author
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 (v2)

Author
Target
8.6
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?

Yes
No
Abstain
Yes
33 Votes (100%)
No
0 Votes (0%)
Abstain
0 Votes (0%)

Partial Function Application: Handling of Optional Parameters

Author
Target
8.6
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?

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

Make OPcache a non-optional part of PHP

Author
Target
8.5
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...

Make OPcache a non-optional part of PHP?

yes
no
yes
30 Votes (100%)
no
0 Votes (0%)

Add get_error_handler(), get_exception_handler() functions

Author
Target
8.5
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...

Add get_error_handler(), get_exception_handler() functions?

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

Lazy Objects

Author
Target
8.4
Transparent lazy-initialization of objects is an important part of many PHP applications. However, achieving this kind of laziness in userland is complex, limit...

Add lazy-objects as described to the engine

Yes
No
Yes
26 Votes (84%)
No
5 Votes (16%)

Upload progress in sessions

Author
Target
5.4
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,...

Short Closures 2.0

Author
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...

Add Short Closures as described in PHP 8.2?

Yes
No
Yes
27 Votes (63%)
No
16 Votes (37%)

Native TLS for globals in ZTS

Author
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...