posted in PHP Β· not shown in general logs
php 8.6 lands today π₯ I will post one new feature a day under this thread with a tiny example, follow me if you want the whole tour #php
5c7c6e5
posted in PHP Β· not shown in general logs
clamp(110, 0, 100) gives 100, no more max(0, min(100, $x)) gymnastics :/public readonly int $retries = 3; finally works, no constructor needed πSortDirection::Descending instead of guessing between 'desc', 'DESC' and 'descending' πcommit 5c7c6e5