ID: 33473 Updated by: [EMAIL PROTECTED] Reported By: webmaster at mif dot it -Status: Open +Status: Feedback Bug Type: Session related Operating System: Win XP Pro PHP Version: 5.0.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-06-25 17:19:16] webmaster at mif dot it Description: ------------ To instantiate a new object and assigning it to a not initialized session variable, will result in Apache/php dll to crash. Reproduce code: --------------- # This will crash Apache/php5 dll $_SESSION['myvar'] = new MyObj(); # This will be executed without problems $_SESSION['myvar'] = null; $_SESSION['myvar'] = new MyObj(); Expected result: ---------------- That Apache / PHP doesn't crash. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33473&edit=1