(array)

From: Date: Wed, 22 Feb 2006 22:04:18 +0000
Subject: (array)
Groups: php.general 
Request: Send a blank email to php-general+get-230909@lists.php.net to get a copy of this message
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!

« previous php.general (#230909) next »