In the last mock exam that I did I made the same mistake twice: the “serialize” mistake. If you have read my post Zend Exam Tips III you will see that I believed that unserialize would take care of a string that seemed to be serialized. This time my mistake was over the serialize function. The question was simple:
_______function is used to convert an array into a string, maintaining your ability to return the string into an array.
Believe it or not, that’s not the concept of serialize function, that’s the concept of the implode function. Even knowing that I have used the implode function to perform exactly what have been described, I haven’t remembered that during the exam because “serialize” seems so obvious for being the correct question.
If you are preparing yourself to do the Zend Exam, be more than careful with the “serialize” concept.
Just to help you out, in accordance with PHP.Net, the serialize function is: