Home » Community » People » stas »
stas

stas

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.

Keeping PHPT Tests Green

Author
Target
policy
We have a setup on Travis CI which automatically runs PHPT tests for our active branches. This is very convenient for evaluating pull request and status of the ...

Accept the description in this RFC as an official policy of the PHP project with regard to the tests

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

Choose one or more of the four options above of handling bad commits

Revert ASAP
Revert after 1 week
XFAIL
Update test
Revert ASAP
14 Votes (39%)
Revert after 1 week
4 Votes (11%)
XFAIL
8 Votes (22%)
Update test
10 Votes (28%)

Cleaning up unmaintained extensions

Author
Target
policy
We have a number of extensions that have no assigned maintainer. The proposal is either to find a maintainer for them or move them out of core. The RFC proposes...

Institute the policy of cleaning up unmaintained extensions as described in this RFC

Yes
No
Yes
19 Votes (83%)
No
4 Votes (17%)

Combined Comparison (Spaceship) Operator

Author
Target
7.0
This RFC adds a new operator for combined comparison. Similar to strcmp() or version_compare() in behavior, but it can be used on all generic PHP values with th...

Accept the Combined Comparison (Spaceship) Operator RFC and merge patch into master?

Yes
No
Yes
43 Votes (80%)
No
11 Votes (20%)

Filtered unserialize()

Author
Target
7.0
unserialize() in PHP has certain security issues, brought by the fact that serialized data can include objects with data, and once these objects are instantiate...

Approve filtered unserialize() proposal?

Yes
No
Yes
17 Votes (74%)
No
6 Votes (26%)

Fix CURL file uploads

Author
Target
5.5
Currently, cURL file uploading is done as:

Accept the CURLFile API as preferred solution for file uploads in CURL?

Yes
No
Yes
16 Votes (94%)
No
1 Votes (6%)

Stream Metadata

Author
Target
5.4

Skipping optional parameters for functions

Author
In PHP, it is very common for function is to have many optional arguments, like this:

Should PHP 7 support parameter skipping as described in this RFC?

Yes
No
Yes
17 Votes (39%)
No
27 Votes (61%)

Objects as hash keys

Author
In PHP array keys can be only represented as numbers and strings. However, there already are several classes that represent different kinds of numbers (such as ...

Should we support using objects as keys as described in this proposal?

Yes, via method __hash
Yes, via method __toKey
No
Yes, via method __hash
6 Votes (20%)
Yes, via method __toKey
0 Votes (0%)
No
24 Votes (80%)

Default constructors

Author
This RFC proposes to introduce the concept of default constructors into PHP. The meaning of it is that whatever is the parent class, child class can always call...

Should PHP 7 have default constructor semantics as described in this proposal?

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