title: forcing access to __PHP_Incomplete_Class object properties
body: <p>I'm writing a module for a php cms. In a function (a callback) I can access an object that comes from the framework code. </p>
  
  <p>This object is of type <code>__PHP_Incomplete_Class</code> because the needed header file is not included before the session starts. I cannot include it without hacking the core cms code.</p>
  
  <p>I wonder if is possibile to access the object properties anyway (casting to array does not work). I ask this because I can see the values with <code>var_dump()</code> but using <code>$object-&gt;var</code> I always get nulls.</p>