ID: 33473 Comment by: markus at cultcom dot de Reported By: webmaster at mif dot it Status: No Feedback Bug Type: Session related Operating System: Win XP Pro PHP Version: 5.0.4 New Comment:
This bug is reproducable with FC4 PHP Packages here (5.0.4), is this acutally fixed in 5.0.5? Previous Comments: ------------------------------------------------------------------------ [2005-07-03 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-06-25 20:11:29] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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