Re: implode/explode vs serialize/unserialize [message #178293 is a reply to message #178292] |
Tue, 29 May 2012 13:53 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 5/29/2012 9:24 AM, bill wrote:
> Would one of the more knowledgeable folk discuss when it is appropriate
> to use implode/explode and when it is appropriate to use
> serialize/unserialize.
>
> It seems that for 1D arrays implode is better in that is only adds 1
> character per array element and serialize adds many.
>
> For objects, serialze is the only way to go.
>
> in between ?
>
> bill
There is no correct answer to your question without a context. The two
have entirely different purposes.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|