ID: 46489 Updated by: [EMAIL PROTECTED] Reported By: bugs-php at suyama dot info -Status: Open +Status: Bogus Bug Type: Session related Operating System: RHEL4 PHP Version: 5.2.6 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2008-11-05 01:57:24] bugs-php at suyama dot info Description: ------------ Then writing session and closing session (include session_write_close function), processing is continued without finishing the exit() call back. A funnier problem occurs when I use this problem with an exception. When at first I carry out session_write_close() calling exit, an exception object becomes null by the later exception handling of an exception. Reproduce code: --------------- <?php session_set_save_handler('dummy', 'dummy', 'dummy','write', 'dummy', 'dummy'); function dummy(){} function write() { print "Write.\n"; exit; print "Not come to here.\n"; } session_start(); session_write_close(); print "I'm here.\n"; Expected result: ---------------- Write. Actual result: -------------- Write. I'm here. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46489&edit=1
