Why 'Serialization of 'SplFileInfo' is not allowed?
<p>I'm trying to store an array of <code>SplFileInfo</code> instances in a cache with <code>serialize</code> command but the command throws this exception:</p>

<pre><code>Exception' with message 'Serialization of 'SplFileInfo' is not allowed
</code></pre>

<p>Why is it not allowed? </p>

<p>Thanks! </p>

<p><strong>Note:</strong> I'm just curious. The problem itself can be worked around.</p>
