unserialize_pure

Pure variant of unserialize

function unserialize_pure(
  string $str,
  darray<string, mixed> $options = dict [
],
): mixed;

Unserializing objects with impure implementations of the __wakeup method will result in coeffect violations.

Parameters

Returns

  • mixed