From: andre at onestep dot nl Operating system: w2k PHP version: 5CVS-2003-07-08 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: cloning within a try-catch block
Description: ------------ Cloning an object within a try-catch block generates a "bad opcode in throw list" error. Reproduce code: --------------- class MyClass { public $foobar; } try { $a = new MyClass(); $b = $a->__clone(); } catch(Exception $exception) { echo $exception->getMessage(); } Expected result: ---------------- An empty page. Actual result: -------------- PHP Fatal error: Bad opcode in throw list in C:\simon\production\www\test2.php on line 13 -- Edit bug report at http://bugs.php.net/?id=24536&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24536&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24536&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24536&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24536&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24536&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24536&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24536&r=support Expected behavior: http://bugs.php.net/fix.php?id=24536&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24536&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24536&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24536&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24536&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24536&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24536&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24536&r=gnused