Re: Re: [RFC] [Discussion] Add 4 new rounding modes to round() function

From: Date: Thu, 05 Oct 2023 21:37:25 +0000
Subject: Re: Re: [RFC] [Discussion] Add 4 new rounding modes to round() function
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-121243@lists.php.net to get a copy of this message
> I don't think deprecating the constants in the version where the aliases are introduced is a good idea. I removed the deprecation. You are right. > I will also echo Tim's idea of using an enum instead and a union type. > For the namespace, I think it would make sense to use Maths\RoundingMode Doesn't Math/Maths namespace introduce BC break? Kind regards, Jorg

« previous php.internals (#121243) next »