$serialized =
$failed =
[];
foreach ($values as $id =>
$value) { try { if ($this->useIgbinarySerialize
) { $serialized[$id] =
igbinary_serialize($value);
} else { $serialized[$id] =
serialize($value);
} } catch (\Exception
$e) { if ($this->throwOnSerializationFailure
) { throw new \
ValueError($e->
getMessage(), 0,
$e);
} $failed[] =
$id;
} } return $serialized;
} public function unmarshall(string
$value): mixed
{ if ('b:0;' ===
$value) {