ID:               30162
 Updated by:       [EMAIL PROTECTED]
 Reported By:      guth at fiifo dot u-psud dot fr
-Status:           Assigned
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5CVS-2005-03-07
 Assigned To:      andi
 New Comment:

Fixed in CVS HEAD and PHP_5_0.


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

[2005-03-09 11:33:28] [EMAIL PROTECTED]

Nope, this has problably to do with exceptions - not my thing.

------------------------------------------------------------------------

[2005-03-07 23:52:41] [EMAIL PROTECTED]

THink that I broke this...

------------------------------------------------------------------------

[2004-09-20 09:34:53] guth at fiifo dot u-psud dot fr

Description:
------------
This bug is linked to bug #30161.

var_dump() should produce an object.

Reproduce code:
---------------
<?php
class FIIFO {

        public function __construct() {
                throw new Exception;
        }

}

class hariCow extends FIIFO {

        public function __construct() {
                try {
                        parent::__construct();
                } catch(Exception $e) {
                }
        }
        
        public function __toString() {
                return "Rusticus in asino sedet.";
        }

}


$db = new hariCow;

var_dump($db);
?>

Expected result:
----------------
Something like 'Object ...'

Actual result:
--------------
UNKNOWN:0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30162&edit=1

Reply via email to