1
0
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:
Benjamin Morel 2015-06-12 12:59:24 +02:00
parent 5533b2aa36
commit 1ff8b8b2d3

View File

@ -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.