pack vs. serialize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



all,

i have recently stumbled upon the
pack<http://www.php.net/manual/en/function.pack.php>method.
can this be used as a substitute for
serialize<http://www.php.net/manual/en/function.serialize.php>
?
if so, is there any rationalization for this; like would it perhaps create a
more
compact representation of the data or run more quickly?
it looks like pack cannot be used on object as i didnt see object in the
format listing;
what would be a typical application of the pack method?

thanks,

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux