- var_dump: documentation ( source)
- error_reporting: documentation ( source)
- set_error_handler: documentation ( source)
<?php
echo "sss";
class A {}
function test(B $b) { echo 'called'; var_dump($b); }
error_reporting(E_ALL ^ E_RECOVERABLE_ERROR);
set_error_handler(function () { return TRUE; });
test(new A);