Is there a way to use PHP to unserialize individual array members?
Example - array of serialized objects
//$array
Array
(
[0] => O:21:"Calc\Calc":22:{s:3:"qok";...
[1] => O:21:"Calc\Calc":22:{s:3:"qok";...
[2] => O:21:"Calc\Calc":22:{s:3:"qok";...
)
What I want is to transform it into an array of objects. For example, say I want to
Is there was perhaps a way to do it like so:
$resultingJSON = '[' . implode(',', MAGIC_UNSERIALIZE_EACH($selections)). ']';