PHP function which I always look for when using extract() function

get_defined_vars()

[php]
extract ( array (‘foo’, ‘bar’), EXTR_PREFIX_ALL, ‘var’ );

print_r( get_defined_vars() );

//reveals $var_0 = ‘foo’, $var_1 = ‘bar’
[/php]