ooops that should be...

function test2($arr)
{
  extract($arr);
  print $this;
}

test2($arr = array(
"test" => 1,
"this" => 2
));
// output
2


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to