PHP Io\Terminal RFC Proposes Native Terminal Input for CLI
The PHP Io\Terminal RFC proposes native terminal input, raw mode, size queries, and hidden input for CLI applications in PHP 8.7.
Eric L. Barnes
Language proposals as they move through the internals list. What each RFC changes, how the vote went, and when it reaches a release you will actually run.
The PHP Io\Terminal RFC proposes native terminal input, raw mode, size queries, and hidden input for CLI applications in PHP 8.7.
Eric L. Barnes
The Array Variable Shorthand RFC would let PHP 8.7 write [=$name] instead of ['name' => $name]. Internals is split on whether it needs new syntax.
Eric L. Barnes
Tim Düsterhus and Derick Rethans propose Time\Instant and a Time\Clock interface for PHP 8.7: a timezone-free point in time you can mock in tests.
Eric L. Barnes
The str_mask() RFC would add a native function for masking card numbers and tokens in PHP 8.7. Internals wants to know why substr_replace() isn't enough.
Eric L. Barnes
The PHP RFC to end PEAR endorsement now has a PEAR Group member's backing, an end date for the pear.php.net archive, and a vote planned for September 28.
Eric L. Barnes
PHP's array_str_contains() RFC would replace a substring-filtering callback with one function call. See the before-and-after code and its PHP 8.7 status.
Eric L. Barnes
A new PHP RFC would end php.net's endorsement of PEAR, unbundle the installer from PHP 8.7, and freeze pear.php.net as a static archive.
Eric L. Barnes
PHP 8.6 deprecates four SplFileObject CSV methods. The standalone fgetcsv() and fputcsv() functions and the READ_CSV flag are not affected.
Eric L. Barnes
PHP 8.6 adds partial function application, using ? and ... placeholders to create closures with some function arguments already filled in.
Eric L. Barnes
PHP 8.6 deprecates return statements inside finally blocks because they can silently replace return values or swallow exceptions.
Eric L. Barnes
PHP 8.6 enables strict session mode and HttpOnly cookies by default, while setting SameSite to Lax. Here is what applications should check.
Eric L. Barnes
PHP 8.6 deprecates session handlers missing create_sid() and validateId(), and warns when the class is declared. Laravel's handlers trip it.
Eric L. Barnes