class VARIANT (View source)

The VARIANT is COM's equivalent of the PHP zval; it is a structure that can contain a value with a range of different possible types. The VARIANT class provided by the COM extension allows you to have more control over the way that PHP passes values to and from COM.

Methods

__construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP)

(PHP 4 >= 4.1.0, PHP 5, PHP 7)
COM class constructor.

__get($name)

No description

__set($name, $value)

No description

__call($name, $args)

No description

Details

__construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP)

(PHP 4 >= 4.1.0, PHP 5, PHP 7)
COM class constructor.

Parameters

mixed $value [optional]
int $type [optional]
int $codepage [optional]

__get($name)

No description

Parameters

$name

__set($name, $value)

No description

Parameters

$name
$value

__call($name, $args)

No description

Parameters

$name
$args