Image

Imagelivenolies wrote in Imagephp

have you seen this function

I have an an array/object/whatever with vars in it:

$foo->bar
$foo->stuff
$foo->somethingElse

...you get the idea. I want to make a local copy of all the variables in this array/object, so I can read the data without having to do "$foo->" first all the time.

someFunc( $foo );

...and now I *should* be able to do $bar, $stuff, $somethingElse and have valid copies of what was stored in $foo. I could have sworn there was a built-in PHP function to do this, but I'm not able to find anything in the docs. Does anyone know it?

Thanks.