function test_strict_var() { $vars = array(); foreach ($vars as $var) { misc1($var); //ERROR: unused variable, should be declared outide because it's used later $nested_var = 1; } //ERROR: use of undefined variable misc1($nested_var); }
function take_variable_number_of_args() { misc1(func_get_args()); }