<?php $dbConnection=BO::getConnection();
$recordSet=$dbConnection->SELECT('select timeStamp, uuid, author from articleComment where oid<3');
echo("<p/>var_dump: ");
var_dump($recordSet);
$serialization=serialize($recordSet);
echo("<p/>Serialization: $serialization");
$base64=base64_encode($serialization);
echo("<p/>Base 64 final result: $base64");
echo("<p/>Deserialization stage - running on the target machine");
$decodedValue=base64_decode($base64);
echo("<p/>Decoded string: $decodedValue");
$deserializedObject=unserialize($decodedValue);
echo("<p/>Deserialized object: ");
var_dump($deserializedObject);