brzuchal

brzuchal

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.

Native Immutable Collections — "vec", "set" and "tuple"

Author
Target
9.0
PHP's array is a single, mutable type that serves as an ordered list, an associative map, a record and a set at once. That versatility means an array type decla...

StackFrame class

Author
Target
8.0
The debug_backtrace() function currently returns stack trace frames as an array of arrays with information about the file, line, class, type, object, args and f...

Add object-based debug_backtrace() alternative?

Yes
No
Yes
14 Votes (50%)
No
14 Votes (50%)

Replace object-based trace for Throwable::getTrace()?

Yes
No
Yes
6 Votes (24%)
No
19 Votes (76%)

PHP Namespace in core

Author
The PHP project has reserved the right to use the \PHP namespace but has never acted upon starting to use it. We therefore propose that core symbols which canno...

Accept PHP namespace in core RFC?

Yes
No
Yes
19 Votes (44%)
No
24 Votes (56%)

Object Initializer

Author
PHP doesn't have a convenient literal syntax for creating an object and initializing properties. This makes creating objects and initializing their state quite ...

Accept object initializer?

Yes
No
Yes
3 Votes (10%)
No
26 Votes (90%)

Choose between two tokens as an assign operator in object initializer block?

=
=>
=
16 Votes (89%)
=>
2 Votes (11%)

Switch Expression & Switch Statement Improvement

Author
The current design of PHP's switch statement follows closely languages such as C/C++ and supports fall-through semantics by default. The traditional switch stat...

Language Constructs Syntax Changes

Author
Target
8.0
In 25yrs history, many language constructs were allowed in different forms depending on the context.

Switch expression

Author
Target
8.0
The switch statement has some long-standing issues that we're going to look at in this RFC.

Change terminology to ExcludeList

Author
Target
8.0
The word blacklist require additional context to figure out the exact intention of a specific configuration. This proposal suggest to change this to a name that...