Re: [RFC] Duration class

From: Date: Mon, 22 Jun 2026 18:16:42 +0000
Subject: Re: [RFC] Duration class
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-131473@lists.php.net to get a copy of this message
Hi Am 2026-06-22 20:08, schrieb Larry Garfield:
To be clear, I absolutely hate using a static method here. Even if we're just using methods and not operators, $dur3 = $dur1->add($dur2) is the way to go.
Given the amount of “subthreads” and to keep things organized for as the RFC author: This remark better fits into the https://news-web.php.net/php.internals/131401 subthread and I would appreciate you resending it there if it's important to you - and not continue discussion in this subthread about “dividing durations by durations”. Best regards Tim Düsterhus

« previous php.internals (#131473) next »