FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » implode/explode vs serialize/unserialize
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: implode/explode vs serialize/unserialize [message #178295 is a reply to message #178294] Tue, 29 May 2012 14:22 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 5/29/2012 4:19 PM, Erwin Moller wrote:

<snip>


> ==================================
> $a = array( array(1,2,3),array("a","b","c","d"),array("nr1"=>42,"nr2"=>9));
> $str_impl = implode($a);
> $str_ser = \serialize($a);

typo correction:
the above should be without the \
thus:
$str_ser = serialize($a);

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CFP - DEIS2012 - Czech Republic - SDIWC
Next Topic: PHP Concatenate
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 19:13:20 GMT 2024

Total time taken to generate the page: 0.04916 seconds