title: .NET Interop vs PHP - VT_ARRAY | VT_UNKNOWN (0x200D)
body: <p>Someone asked me to use my .NET 4 Interop library from PHP. I have some trouble with that. In PHP when I call variant_get_type() for a certain array, it says "2085" (0x200D). PHP is unable to iterate this array.</p>
  
  <p>In my .NET assembly:</p>
  
  <pre><code>[ClassInterface(ClassInterfaceType=AutoDual)]
  [ProgId("mylib")]
  public class Client {
      ...
      public Whatever[] getWhatevers();
          ...
      }
  
      [ClassInterface(ClassInterfaceType=AutoDual)]
      [ProgId("mylib.Whatever")]
      public class Whatever { ... }
      ...
  }
  </code></pre>
  
  <p>How should I modify my .NET library for PHP to accept this Whatever[] array from .NET and iterate it?</p>