PHP 8.7 RFC: Comments and Trailing Commas in json_decode()
A new PHP 8.7 RFC adds two opt-in flags that let json_decode() and json_validate() accept // and /* */ comments and a trailing comma.
Eric L. Barnes
A new PHP 8.7 RFC adds two opt-in flags that let json_decode() and json_validate() accept // and /* */ comments and a trailing comma.
Eric L. Barnes
The full story of PEAR, from a 1999 commit to PHP's bundled installer, Composer, the 2019 breach, and the 2026 vote to end PHP's endorsement.
Eric L. Barnes
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