Edit report at http://bugs.php.net/bug.php?id=54641&edit=1
ID: 54641 Comment by: alex at phpguide dot co dot il Reported by: alex at phpguide dot co dot il Summary: splfileinfo aborts connection when added to session Status: Open Type: Bug Package: SPL related Operating System: windows 7 PHP Version: 5.3.6 Block user comment: N Private report: N New Comment: seems like Uncaught exception 'Exception' with message 'Serialization of 'SplFileInfo' is not allowed' has to be related. Should be documented somewhere somehow :/ Yet as another bug: unserializable objects lead to unexpected results when put in session instead of producing any warning or exception. Previous Comments: ------------------------------------------------------------------------ [2011-04-30 23:20:13] alex at phpguide dot co dot il Description: ------------ Attempting to put SplFileInfo into session results in Connection Was Reset Test script: --------------- <?php session_start(); $_SESSION['dying connection'] = new SplFileInfo(__FILE__); Actual result: -------------- Connection was reset ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54641&edit=1
