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
commit 5909158
5909158
posted in PHP Β· not shown in general logs
commit 5909158
clamp(110, 0, 100) gives 100, no more max(0, min(100, $x)) gymnastics :/public readonly int $retries = 3; finally works, no constructor needed π