A simple container to wrap variables into VARIANT structures_
Methods
string VARIANT::VARIANT ( [mixed value [, int type [, int codepage]]])
VARIANT class constructor_ Parameters:
value
initial value_ if omitted an VT_EMPTY object is created_
type
specifies the content type of the VARIANT object_ Possible values are
VT_UI1, VT_UI2, VT_UI4,
VT_I1, VT_I2, VT_I4,
VT_R4, VT_R8, VT_INT, VT_UINT,
VT_BOOL, VT_ERROR, VT_CY,
VT_DATE, VT_BSTR, VT_DECIMAL,
VT_UNKNOWN, VT_DISPATCH and VT_VARIANT_ These values are
mutual exclusive, but they can be combined with VT_BYREF to specify being a value_ If omitted,
the type of value is used_ Consult the MSDN library for additional information_
codepage
specifies the codepage that is used to convert php_strings to
unicode_strings and vice versa_ Possible values are
CP_ACP, CP_MACCP,
CP_OEMCP, CP_SYMBOL,
CP_THREAD_ACP, CP_UTF7
and CP_UTF8_