variant_get_type

(PHP 5, PHP 7) Returns the type of a variant object int variant_get_type ( variant $variant ) Returns the type of a variant object. Parameters: variant The variant object. Returns: This function returns an integer value that indicates the type of variant, which can be an instance of COM, DOTNET or VARIANT classes. The return value can be compared

variant_fix

(PHP 5, PHP 7) Returns the integer portion of a variant mixed variant_fix ( mixed $variant ) Gets the integer portion of a variant. Parameters: variant The variant. Returns: If variant is negative, then the first negative integer greater than or equal to the variant is returned, otherwise returns the integer portion of the value of variant.

variant_eqv

(PHP 5, PHP 7) Performs a bitwise equivalence on two variants mixed variant_eqv ( mixed $left, mixed $right ) Performs a bitwise equivalence on two variants. Parameters: left The left operand. right The right operand. Returns: If each bit in left is equal to the corresponding bit in right then TRUE is returned,

variant_div

(PHP 5, PHP 7) Returns the result from dividing two variants mixed variant_div ( mixed $left, mixed $right ) Divides left by right and returns the result. Parameters: left The left operand. right The right operand. Returns: Variant Division Rules If Then Both expressions are of the string, date, character, boole

variant_date_to_timestamp

(PHP 5, PHP 7) Converts a variant date/time value to Unix timestamp int variant_date_to_timestamp ( variant $variant ) Converts variant from a VT_DATE (or similar) value into a Unix timestamp. This allows easier interopability between the Unix-ish parts of PHP and COM. Parameters: variant The variant. Returns: Returns a unix timestamp.

variant_date_from_timestamp

(PHP 5, PHP 7) Returns a variant date representation of a Unix timestamp variant variant_date_from_timestamp ( int $timestamp ) Converts timestamp from a unix timestamp value into a variant of type VT_DATE. This allows easier interopability between the unix-ish parts of PHP and COM. Parameters: timestamp A unix timestamp. Returns: Returns a VT_DA

variant_cmp

(PHP 5, PHP 7) Compares two variants int variant_cmp ( mixed $left, mixed $right [, int $lcid [, int $flags ]] ) Compares left with right. This function will only compare scalar values, not arrays or variant records. Parameters: left The left operand. right The right operand. lcid A valid Locale Ide

variant_cat

(PHP 5, PHP 7) concatenates two variant values together and returns the result mixed variant_cat ( mixed $left, mixed $right ) Concatenates left with right and returns the result. This function is notionally equivalent to $left . $right. Parameters: left The left operand. right The right operand. Returns: Ret

variant_cast

(PHP 5, PHP 7) Convert a variant into a new variant object of another type variant variant_cast ( variant $variant, int $type ) This function makes a copy of variant and then performs a variant cast operation to force the copy to have the type given by type. This function wraps VariantChangeType() in the COM library; consult MSDN for more information. Parameters: variant

variant_and

(PHP 5, PHP 7) Performs a bitwise AND operation between two variants mixed variant_and ( mixed $left, mixed $right ) Performs a bitwise AND operation. Note that this is slightly different from a regular AND operation. Parameters: left The left operand. right The right operand. Returns: Variant AND Rules If left