💥 Breaking changes
- Minimum PHP version is now 8.1
RoundingModeis now anenum; if you're type-hinting rounding modes, you need to type-hint againstRoundingModeinstead ofintnowBigNumberclasses do not implement theSerializableinterface anymore (they use the new custom object serialization mechanism)- The following breaking changes only affect you if you're creating your own
BigNumbersubclasses:- the return type of
BigNumber::of()is nowstatic BigNumberhas a new abstract methodfrom()- all
publicandprotectedfunctions ofBigNumberare nowfinal
- the return type of