serialize/unserialize problem with file_get_contents
<p>I have a bunch of multidimensional arrays serialized and saved in one txt file, one per line.
Now, I'm reading the file with <code>file_get_contents</code> but when I unserialize the variable with the content of the file, it echos only the first line of the file.</p>

<p>In debug, the file's content is readed entirely, it's only when I unserialize the variable that I get only the first array. I think there is some problem with the <code>\n\r</code> that I add at the end of the line for starting a new one, 'cause if I delete the first line, it read the next one correctly, but just the first again!</p>

<p>For the <code>\n\r</code> mentioned before, I first writed the array serialized in the file, after I append a <code>\n\r</code> with <code>file_put_contents($this-&gt;logFile,"\r\n",FILE_APPEND)</code>. Is this correct?</p>

<p>What should I do?</p>

<p>Thanks</p>
