PHP.nl

variant_add

variant_add

"Adds" two variant values together and returns the result

variant **variant_add** mixed $left mixed $right

Adds to using the following rules (taken from the MSDN library), which correspond to those of Visual Basic:

left``right

com.variant-arith leftThe left operand.

rightThe right operand.

Returns the result.

Throws a on failure. com_exception

variant_sub