From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: extract() to work with objects
example:
class foo {
function foo() {
$var_array = array('hello'=>'world');
extract($var_array, EXTR_PREFIX_ALL, "this->prefix");
echo $this->prefix_hello;
}
};
$f = new foo();
:)
fab
--
Edit Bug report at: http://bugs.php.net/?id=10546&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]