Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

func_get_args with keys

function foo($arg1, $arg2)
{
    var_dump(get_defined_vars());
}

foo('bar1', 'bar2');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #keys
ADD COMMENT
Topic
Name
3+3 =