VARIANT::__construct
VARIANT class constructor
&reftitle.description;
VARIANT::__construct
mixedvalue&null;
inttypeVT_EMPTY
intcodepageCP_ACP
Constructs a new VARIANT object.
&reftitle.parameters;
value
Initial value. If omitted, or set to &null; an VT_EMPTY object is created.
type
Specifies the content type of the VARIANT object. Possible values are
one of the VT_XXX .
PHP can detect parameters passed by reference
automatically; they do not even need to be passed as VARIANT objects.
Consult the MSDN library for additional information
on the VARIANT type.
codepage
Specifies the codepage that is used to convert strings to
unicode. See the parameter of the same name in the
class for more information.