#!/usr/local/php/bin/php Original Objects array(1) { ["key"]=> string(5) "value" } PHP Serialize string(28) "a:1:{s:3:"key";s:5:"value";}" array(1) { ["key"]=> string(5) "value" } JSON Encode/Decode string(15) "{"key":"value"}" object(stdClass)#1 (1) { ["key"]=> string(5) "value" } igbinary Serialize string(18) "keyvalue" array(1) { ["key"]=> string(5) "value" }