- var_dump: documentation ( source)
- restore_error_handler: documentation ( source)
- set_error_handler: documentation ( source)
- strtolower: documentation ( source)
<?php
class A {
protected $a;
public function foo() {
var_dump( strtolower(
call_user_func(function() {
set_error_handler(function() {});
$class = get_called_class();
restore_error_handler();
return $class;
})));
}
}
$a = new A;
$a->foo();