ID:               24536
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andre at onestep dot nl
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: w2k
 PHP Version:      5CVS-2003-07-08 (dev)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-07-08 07:54:28] andre at onestep dot nl

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 this bug report at http://bugs.php.net/?id=24536&edit=1

Reply via email to