#39596 [Opn->Asn]: VT_ARRAY

From: Date: Wed, 22 Nov 2006 21:49:48 +0000
Subject: #39596 [Opn->Asn]: VT_ARRAY
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-105335@lists.php.net to get a copy of this message
ID: 39596 Updated by: tony2001@php.net Reported By: tim dot pickup at gmail dot com -Status: Open +Status: Assigned Bug Type: Unknown/Other Function Operating System: Windows 2003 PHP Version: 5.2.0 -Assigned To: +Assigned To: wez 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 (#105335) next »