mirror of
https://github.com/danog/math.git
synced 2024-11-30 04:19:31 +01:00
More notes about serializing
This commit is contained in:
parent
5533b2aa36
commit
1ff8b8b2d3
@ -135,5 +135,8 @@ Rounding mode | Description
|
||||
|
||||
### Serialization
|
||||
|
||||
`BigInteger` and `BigDecimal` can be safely serialized on a machine and unserialized on another.
|
||||
No context is stored in the serialized variable, only the value.
|
||||
`BigInteger` and `BigDecimal` can be safely serialized on a machine and unserialized on another,
|
||||
even if these machines do not share the same set of PHP extensions.
|
||||
|
||||
For example, serializing on a machine with GMP support and unserializing on a machine that does not have this extension
|
||||
installed will still work as expected.
|
Loading…
Reference in New Issue
Block a user