Page 1 of 1

difference between implode and serialize

Posted: Mon Jul 17, 2006 2:02 am
by sathish.hc
Hi,

I am confused which one to use implode or serialize.

What is difference between them?
which one is better?

Posted: Mon Jul 17, 2006 3:20 am
by AshrakTheWhite
serialize() returns a string containing a byte-stream representation of value that can be stored anywhere.


Returns a string containing a string representation of all the array elements in the same order, with the glue string between each element.

Code: Select all

serialize()
implode()

RTM ;)