Hi Am 2026-06-20 13:45, schrieb ignace nyamagana butera:
if no argument is given I would expect an ArgumentCountError to be thrown just like with array_sum.
This statement is not accurate (it's also not a recent change: https://3v4l.org/Ia8Mc#v):
php > var_dump(array_sum([]));
int(0)
But following the implied argument, `Duration::fromSeconds(0)` would be
the expected answer. I'll discuss this with Derick.
Best regards Tim Düsterhus
