Typecast a property as an object
<p>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.</p>

<p>Thank you</p>

<pre><code>class xxx
{
    public  $array=array(),
            $object1=new stdClass(),
            $object2=object()
}
</code></pre>
