dumps()
dumps( $obj, $key = null, $compress = false, $extra_key = '') : string
Dump and sign an object.
If you want to sign a small string, use directly the sign/unsign function as compression will not help and you will save the overhead of the serialize call.
Parameters
| $obj | ||
| $key | ||
| $compress | ||
| $extra_key |
Returns
string —Signed string