- var_dump: documentation ( source)
- error_reporting: documentation ( source)
<?php
error_reporting(-1);
class A {
function B() {
die('aa');
}
static function C() {
var_dump($this);
}
function __destruct()
{
echo '<br />Well, you have done!!<br />';
die('xx');
}
}
A::B();