Is it possible to typecast a property as an object when defining the properties? For instance, $array is valid, however, my two attempts of doing so with an object are not.
Thank you
class xxx
{
    public  $array=array(),
            $object1=new stdClass(),
            $object2=object()
}
 
     
     
    