php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tim dot pickup at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-24 10:05 UTC] rrichards@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC