PHP 8.5's
clone($dto, ['status' => 'paid']) syntax makes immutable readonly value objects so much nicer to work with. You no longer need half a dozen withStatus() boilerplate methods on every DTO just to swap one property.commit 3c87019