|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11760 VT_ARRAY not supported
Submitted: 2001-06-27 19:41 UTC Modified: 2001-07-01 17:30 UTC
From: heejung73 at yahoo dot com Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-06-27 19:41 UTC] heejung73 at yahoo dot com

the following line of code 

results in
  Warning:  Type not supportet or not yet implemented

please let me know if this is a real bug or if i'm doing something wrong.  i hope i'm doing something wrong coz i really need this to work!



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-01 17:30 UTC]
both is the case :)

first: array support is not implemented in php4.0.6. you have to use a recent snapshot.

second: VT_ARRAY is not a type, its only a modificator like VT_BYREF, you have to use something like VT_I4|VT_ARRAY|VT_BYREF

but the variant class is only needed if you explicitly want to cast your var to a specific type. you can directly pass a php-variable to a com-method as well.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Oct 04 16:01:26 2023 UTC