#30309 [NEW]: The destructor is called when an exception is thrown from the constructor

From: Date: Sat, 02 Oct 2004 11:44:57 +0000
Subject: #30309 [NEW]: The destructor is called when an exception is thrown from the constructor
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67030@lists.php.net to get a copy of this message
From: ernest at vogelsinger dot at Operating system: Win32 PHP version: 5.0.2 PHP Bug Type: Class/Object related Bug description: The destructor is called when an exception is thrown from the constructor Description: ------------ Bug #29368 "The destructor is called when an exception is thrown from the constructor" is reported being fixed in 5.0.1 but is quite alive in 5.0.2, at least in the Windows binaries. Please reopen, than you. Reproduce code: --------------- http://bugs.php.net/bug.php?id=29368 -- Edit bug report at http://bugs.php.net/?id=30309&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30309&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30309&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30309&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30309&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30309&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30309&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30309&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30309&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30309&r=support Expected behavior: http://bugs.php.net/fix.php?id=30309&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30309&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30309&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30309&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30309&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30309&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30309&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30309&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30309&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30309&r=mysqlcfg

« previous php.bugs (#67030) next »