RFC: Scalar Type Hints - In the midst of a vote on the tip-hinting proposal for scalars, supplemented by the possibility of specifying strict or non-strict type checking. In order for the proposal to be accepted, 2/3 of the votes are necessary, and at the moment the score is 40 for and 23 against. In php.internals, controversy continues and arguments are made on both sides.
RFC: Add cyclic string replacements - It is proposed to extend the capabilities of str_replace() so that the replace parameter is used cyclically. This allows you to make similar replacements: str_replace("?", array("'Joe'", "'Smith'"), "SELECT * FROM people WHERE first = ? AND last = ?");
RFC: Fix "foreach" behavior - Due to a strange implementation, the foreach behaves unpredictably in rare cases. It is proposed to change the implementation, so that the behavior will be consistent and slightly improved performance.
use Doctrine\Common\Collections\Expr\{ Comparison, Value, CompositeExpression };
RFC: Remove the date.timezone warning - Every PHP developer has seen a Warning about the date.timezone option when working with date functions. It is proposed to disable this message.
RFC: Skipping optional parameters for functions - Started voting on the old proposal — add the ability to skip optional parameters using the default keyword in the argument list: foo(1, default, 3);
PSR-7 on an example - There was a lot of controversy around the PSR-7 standard: some say it is too complicated, others are not detailed enough. In the post, the author writes about what the standard is needed for and, using the example of interface implementation , shows its completeness and, at the same time, ease of use.