PHP Core Roundup 10
Marcos Marcolin • March 6, 2023 • 2 min read
php phpfoundation opensource php-core-roundupIn February, work kept moving forward with several RFCs under discussion, improvements, security releases for older versions, etc. Below, I've highlighted a few topics:
If you want to get involved with PHP and already have Core knowledge, you can apply to be a Release Manager for version 8.3 until the 31st of this month.
PHP 8.2.3, 8.1.16, and 8.0.28 were released on February 14th, containing fixes for three security vulnerabilities along with several bug fixes.
PHP 7.4 reached its end of life, and there won't be any more security fix releases.
RFCs
Under vote:
- Saner array_(sum|product)() by George Peter Banyard
- Typed class constants by Benas Seliuginas and Máté Kocsi
Partially accepted:
- Readonly amendments by Nicolas Grekas and Máté Kocsis
Implemented:
- More Appropriate Date/Time Exceptions by Derick Rethans
Mailing list
Several topics were discussed, among them:
Adding a parameter to the json_validate() function to validate the JSON schema.
Inline variable typing, e.g.:
<?php
int $number = 10;
$value = 'foo'; // TypeError
Personally, I really like this one, as it makes data typing safer and less prone to inconsistencies.
To check out everything new this month, click here.
This month, in particular, I had two humble PRs accepted into the Core (they're listed in the official post). I'm getting involved little by little, in my free time, which isn't much.
I feel a real sense of gratitude, being able to give a little back to #PHP and the language's community for the achievements I've had, using it as my main tool. Plus, of course, learning something new. 🙂