This is an error 404
There are `0` results
preferences:
150.53 ms | 1399 KiB | 7 Q<?php
class A
{
public function __destruct()
{
throw new Exception('destruct A');
}
}
class B
{
private $m;
public function __construct()
{
$this->m = new A();
}
public function __destruct()
{
parent::__destruct();
throw new Exception('destruct B');
}
}
try {
$b = new B();
}
catch (Exception $e) {
echo $e->getMessage();
}
?>