: Bug #39596 :: VT_ARRAY
| Bug #39596 | VT_ARRAY | ||||
|---|---|---|---|---|---|
| Submitted: | 2006-11-22 21:43 UTC | Modified: | 2006-12-24 10:05 UTC | ||
| From: | tim dot pickup at gmail dot com | Assigned: | wez (profile) | ||
| Status: | Closed | Package: | COM related | ||
| PHP Version: | 5.2.0 | OS: | Windows 2003 | ||
| Private report: | No | CVE-ID: | None | ||
[2006-11-22 21:43 UTC] tim dot pickup at gmail dot com
Description:
------------
Hi,
This used to working in PHP4 and now does not work in PHP5:
$binding_string = array('aaa','bbb','ccc');
$v = new VARIANT( $binding_string, VT_ARRAY );
I have tried a number of changes to try to get around this but cant find one.
Reproduce code:
---------------
$binding_string = array('aaa','bbb','ccc');
$v = new VARIANT( $binding_string, VT_ARRAY );
Actual result:
--------------
Fatal error: Uncaught exception 'com_exception' with message 'Variant type conversion failed: Type mismatch...
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-12-24 10:05 UTC] rrichards@php.net