Edit report at http://bugs.php.net/bug.php?id=53141&edit=1
ID: 53141 Comment by: bugs dot php dot net at elyobo dot net Reported by: ladislav at marek dot su Summary: autoload misbehaves if called from closing session Status: Closed Type: Bug Package: SPL related Operating System: GNU Linux PHP Version: 5.3SVN-2010-10-23 (SVN) Assigned To: felipe Block user comment: N Private report: N New Comment: I have the same problem in PHP 5.2.10 (Ubuntu version: 5.2.10.dfsg.1-2ubuntu6.5), which doesn't have mysqlnd. I can work around it by doing my thing in __destruct() instead, which works, but I'm not sure that this bug is only related to mysqlnd. Previous Comments: ------------------------------------------------------------------------ [2010-11-02 21:51:04] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=305038 Log: - Fixed config.m4 to complete the fix for bug #53141 (thanks Johannes) ------------------------------------------------------------------------ [2010-11-02 19:37:39] fel...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch, I committed a slighty modified version, I changed OPTIONAL to REQUIRED as SPL is not disableable. ------------------------------------------------------------------------ [2010-11-02 19:34:58] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=305034 Log: - Fixed bug #53141 (autoload misbehaves if called from closing session) patch by: ladislav at marek dot su ------------------------------------------------------------------------ [2010-11-01 19:17:13] ladislav at marek dot su It looks like that --with-mysql=mysqlnd configuration causes different order of extensions, so SPL extension is destroyed before the session is. Adding session dependency to SPL fixes this bug (I'm not sure if is it correct way). ------------------------------------------------------------------------ [2010-10-24 13:51:55] ladislav at marek dot su I can reproduce it with '--with-mysql=mysqlnd' configuration. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=53141 -- Edit this bug report at http://bugs.php.net/bug.php?id=53141&edit=1