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