- var_dump: documentation ( source)
- function_exists: documentation ( source)
- error_get_last: documentation ( source)
- set_error_handler: documentation ( source)
<?php
function handler($errno, $errstr) {
var_dump($errno);
return false;
}
set_error_handler('handler', ~0);
function test($string)
{
$string = 'bar';
}
$a = 'foo';
$val = 'test';
eval($val.'(&$a);');
function_exists('error_get_last') && var_dump(error_get_last());