#39596 [Asn->Csd]: VT_ARRAY

From: Date: Sun, 24 Dec 2006 10:05:59 +0000
Subject: #39596 [Asn->Csd]: VT_ARRAY
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106833@lists.php.net to get a copy of this message
ID: 39596 Updated by: rrichards@php.net Reported By: tim dot pickup at gmail dot com -Status: Assigned +Status: Closed Bug Type: COM related Operating System: Windows 2003 PHP Version: 5.2.0 Assigned To: wez New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2006-11-22 21:43:22] 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... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39596&edit=1

« previous php.bugs (#106833) next »