Just came across some code I haven't seen before and can't find anything on
php.net or google about it (maybe I'm not searching for the right thing?).
What is the following doing?

// $dataobject is holding a bunch of variables like:
//      $dataobject->var1
//      $dataobject->var2
//      etc...

(array)$dataobject;

Is this making the $dataobject an associative array like:

$dataobject["var1"]
$dataobject["var2"]

Or is it doing something different?

Thanks!

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

Reply via email to