diff options
| author | jvoisin | 2022-12-07 21:02:22 +0100 |
|---|---|---|
| committer | jvoisin | 2022-12-08 20:55:46 +0100 |
| commit | ccfaf3e4713b1878241f1235a6fcb66ad0582d47 (patch) | |
| tree | 97dcd84aed33b1d98095d0cf3f467e9dfb975f0c /doc/source/config.rst | |
| parent | 5966fefb9a291bd0eecd0fff9396b2b6cea4a62e (diff) | |
Add unserialize_noclass
Diffstat (limited to 'doc/source/config.rst')
| -rw-r--r-- | doc/source/config.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 9d2d0ed..bce4667 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -202,6 +202,20 @@ It can either be ``enabled`` or ``disabled``. | |||
| 202 | sp.sloppy_comparison.enable(); | 202 | sp.sloppy_comparison.enable(); |
| 203 | sp.sloppy_comparison.disable(); | 203 | sp.sloppy_comparison.disable(); |
| 204 | 204 | ||
| 205 | unserialize_noclass | ||
| 206 | ^^^^^^^^^^^^^^^^^^^ | ||
| 207 | |||
| 208 | :ref:`unserialize_noclass <unserialize-feature>`, available only on PHP8+ and | ||
| 209 | disabled by default, will disable the deserialization of objects via | ||
| 210 | ``unserialize``. It's equivalent to setting the ``options`` parameter of | ||
| 211 | ``unserialize`` to ``false``, on every call. It can either be ``enabled`` or | ||
| 212 | ``disabled``. | ||
| 213 | |||
| 214 | :: | ||
| 215 | |||
| 216 | sp.unserialize_noclass.enable(); | ||
| 217 | sp.unserialize_noclass.disable(); | ||
| 218 | |||
| 205 | unserialize_hmac | 219 | unserialize_hmac |
| 206 | ^^^^^^^^^^^^^^^^ | 220 | ^^^^^^^^^^^^^^^^ |
| 207 | 221 | ||
