pollita

pollita

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.

Function composition operators

Author
In object-oriented code, composition generally means one object having a reference to another. In functional programming, composition generally means sticking ...

Deprecate MD5 checksums from Release process

Author
Target
policy
MD5 should not be considered cryptographically secure for verifying download integrity. We're already providing both SHA256 hashes and GPG signatures for this ...

Should MD5 checksums be left in or removed?

Remove
Keep
Remove
29 Votes (100%)
Keep
0 Votes (0%)

Remove immediately or deprecate prior to removal?

Remove Now
Deprecate
Remove Now
29 Votes (97%)
Deprecate
1 Votes (3%)

Password Hashing Registry

Author
Target
7.4
The password_*() functions introduced a means to support standardized password hashing mechanisms for use by applications. Support for bcrypt was included in th...

Make the password hashing system extensible via internal-only registry?

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

Support integer constants 0-3 to password_hash() et. al. for BC

Yes
No
Yes
19 Votes (95%)
No
1 Votes (5%)

Provide argon2i(d) implementations for password_hash() from ext/sodium

Author
Target
7.4
If PHP core was built without libargon, then password_hash() and family will not support the argon2i and argon2id hashing mechanisms. Since Password Hash Regis...

Provide argon2i(d) from ext/sodium when argon not present

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

Migration Hash Context from Resource to Object

Author
Target
7.2
Since PHP5, objects have been the preferred structure for wrapping internal data, however some clod created the hash extension to use resources. This RFC seeks...

Change HashContext to an object

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

Merge one or both diffs

Frozen
Reentrant
Frozen
9 Votes (60%)
Reentrant
6 Votes (40%)

Fix overflow in octal parsing

Author
Target
7.1
Parsing of Octal (base 8) numbers contained in an interpolated string currently matches the pattern \\[0-7]{1,3}, that is a backslash followed by between one an...

Raise warning on octal interpolation overflow?

Yes
No
Yes
37 Votes (97%)
No
1 Votes (3%)

IntlTimeZone::getWindowsID()

Author
Target
7.1
ICU adds new methods from time to time. Specifically, the methods TimeZone::getWindowsID and TimeZone::getIDForWindowsID were added with ICU4C 52.

Approve get-windows-id RFC and merge oatch into master?

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

IntlChar class

Author
Target
7.0
ICU exposes a great deal of i18n/l10n functionality beyond what is currently exposed by PHP. This RFC seeks to expose just a little bit more...

Accept the IntlChar RFC and merge into master?

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

Fix handling of custom session handler return values

Author
Target
7.0
The logic in ext/session/mod_user.c is just plain wrong.

Fix custom session save handler using the patch as written

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

Which version?

5.6 or later
5.7 or later
6.0 or later
5.6 or later
0 Votes (0%)
5.7 or later
9 Votes (75%)
6.0 or later
3 Votes (25%)

__debugInfo()

Author
Target
5.6

Merge ___debugInfo()

Yes (5.6)
Yes (5.7)
No
Yes (5.6)
23 Votes (85%)
Yes (5.7)
1 Votes (4%)
No
3 Votes (11%)

Name ___debugInfo()

__debugInfo()
__debug()
__debugInfo()
23 Votes (96%)
__debug()
1 Votes (4%)

ext/intl::UConverter

Author
Target
5.5
The ext/intl extension only exposes some of ICU's powerful i18n functionality. This diff covers the the ucnv_* family of function in ICU4C, exposing both a sim...

Should the current UConverter implementation be merged

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

Trailing comma function args

Author
PHP has long supported trailing commas in array declarations like so:

Should the current optional trailing comma implementation be merged

Yes
No
Yes
15 Votes (43%)
No
20 Votes (57%)

Modify tempnam() to handle directories and auto-cleanup

Author
This RFC recommends a set of changes to the tempnam() standard function.

IntlCharsetDetector

Author
PHP's implementation of ICU is still incomplete. One of the features currently missing is a wrapping of UCharsetDetector meant to make an educated guess as to ...

Add OOP methods to Curl objects

Author
As part of the Resource to object conversion project, the cURL resource types were converted to objects with the release of PHP 8.0 . Currently, those objects ...

Variable declarations before usage

Author
To allow for more strictness and type safety if a user wishes to have it, we need a way to make variable declarations explicit. When enabled, accessing an undec...

Enable strict_types checking for curl_setopt()

Author
PHP 7.0 introduced strict type checking as part of the scalar types RFC. When enabled, PHP will use strict type-checking mode for function calls and return sta...

token_get_all() flag to return consistent elements

Author
token_get_all() returns an array of tokens where each token element is either a single-character (for single-character tokens), or an array describing the token...

Add typehint accessors to ReflectionParameter

Author
This RFC proposes improvements to the way we handle type information in reflection. This work will make it easier for writing tools that convert type informatio...

GMP Floating Point Support

Author
@yohgaki suggested adding support for libgmp's arbitrary precision floating point numbers to the PHP extension, and I offered to implement it, so here's my prop...

Short ternary Assignment Operator

Author
Most binary expressions in PHP (e.g. `$x = $y op $z;`) have a shorthand form for self assignment (where the lefthand of the binary op is the same as the lefthan...

Pipe Operator

Author
A common PHP OOP pattern is the use of method chaining, or what is also known as Fluent Expressions. So named for the way one method flows into the next to form...

Module API Inspection

Author
Was asked at PHPBenelux about being able to tell what PHP version a given module is loadable in (given only the .so). Since the answer came down to Try it and ...