HomeSectionsAboutMerch

RFC Codex

These are some notes on PHP RFCs, why some were declined, and what others might need for them to be implemented.

The purpose of these documents is to avoid information from being lost and to try to avoid conversations needing to be repeated multiple times on PHP internals.

Things still being discussed

TODO

These need to be summarised.

Async / fibres - this is being worked on.
Pipe-operator - https://wiki.php.net/rfc/pipe-operator
Tuple returns - though these would be moot if we had out parameters.
Type declarations type number = float | int;

Ideas that overcame their challenges

PHP is actually getting better. These are all things that used to be pipe-dreams, but are now in PHP core.

Things that are probably moot

PHP is actually getting better, but that means that some solutions to problems have become pretty moot, as they seek to solve problems that are now less of a problem.

Explicit defaults

Misc notes

Someone asked for a summary of the general issues with the PHP SPL .