--TEST-- Bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3) --FILE-- getMessage() . "\n"; } } } class B { public $a; function __construct() { $this->a = new A(); throw new Exception("1"); } } try { $b = new B(); } catch(Exception $e) { echo $e->getMessage() . "\n"; } ?> --EXPECT-- 2 1