php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
com_variant.c File Reference
#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
#include "php_com_dotnet.h"
#include "php_com_dotnet_internal.h"

Go to the source code of this file.

Enumerations

enum  variant_binary_opcode {
  VOP_ADD , VOP_CAT , VOP_SUB , VOP_MUL ,
  VOP_AND , VOP_DIV , VOP_EQV , VOP_IDIV ,
  VOP_IMP , VOP_MOD , VOP_OR , VOP_POW ,
  VOP_XOR
}
 
enum  variant_unary_opcode {
  VOP_ABS , VOP_FIX , VOP_INT , VOP_NEG ,
  VOP_NOT
}
 

Functions

PHP_COM_DOTNET_API void php_com_variant_from_zval (VARIANT *v, zval *z, int codepage)
 
PHP_COM_DOTNET_API zend_result php_com_zval_from_variant (zval *z, VARIANT *v, int codepage)
 
PHP_COM_DOTNET_API zend_result php_com_copy_variant (VARIANT *dstvar, VARIANT *srcvar)
 
 PHP_METHOD (variant, __construct)
 
 PHP_FUNCTION (variant_set)
 
 PHP_FUNCTION (variant_add)
 
 PHP_FUNCTION (variant_cat)
 
 PHP_FUNCTION (variant_sub)
 
 PHP_FUNCTION (variant_mul)
 
 PHP_FUNCTION (variant_and)
 
 PHP_FUNCTION (variant_div)
 
 PHP_FUNCTION (variant_eqv)
 
 PHP_FUNCTION (variant_idiv)
 
 PHP_FUNCTION (variant_imp)
 
 PHP_FUNCTION (variant_mod)
 
 PHP_FUNCTION (variant_or)
 
 PHP_FUNCTION (variant_pow)
 
 PHP_FUNCTION (variant_xor)
 
 PHP_FUNCTION (variant_abs)
 
 PHP_FUNCTION (variant_fix)
 
 PHP_FUNCTION (variant_int)
 
 PHP_FUNCTION (variant_neg)
 
 PHP_FUNCTION (variant_not)
 
 PHP_FUNCTION (variant_round)
 
 PHP_FUNCTION (variant_cmp)
 
 PHP_FUNCTION (variant_date_to_timestamp)
 
 PHP_FUNCTION (variant_date_from_timestamp)
 
 PHP_FUNCTION (variant_get_type)
 
 PHP_FUNCTION (variant_set_type)
 
 PHP_FUNCTION (variant_cast)
 

Enumeration Type Documentation

◆ variant_binary_opcode

Enumerator
VOP_ADD 
VOP_CAT 
VOP_SUB 
VOP_MUL 
VOP_AND 
VOP_DIV 
VOP_EQV 
VOP_IDIV 
VOP_IMP 
VOP_MOD 
VOP_OR 
VOP_POW 
VOP_XOR 

Definition at line 537 of file com_variant.c.

◆ variant_unary_opcode

Enumerator
VOP_ABS 
VOP_FIX 
VOP_INT 
VOP_NEG 
VOP_NOT 

Definition at line 543 of file com_variant.c.

Function Documentation

◆ php_com_copy_variant()

PHP_COM_DOTNET_API zend_result php_com_copy_variant ( VARIANT * dstvar,
VARIANT * srcvar )

Definition at line 285 of file com_variant.c.

◆ php_com_variant_from_zval()

PHP_COM_DOTNET_API void php_com_variant_from_zval ( VARIANT * v,
zval * z,
int codepage )

Definition at line 181 of file com_variant.c.

◆ php_com_zval_from_variant()

PHP_COM_DOTNET_API zend_result php_com_zval_from_variant ( zval * z,
VARIANT * v,
int codepage )

Definition at line 186 of file com_variant.c.

◆ PHP_FUNCTION() [1/26]

PHP_FUNCTION ( variant_abs )

Definition at line 799 of file com_variant.c.

◆ PHP_FUNCTION() [2/26]

PHP_FUNCTION ( variant_add )

Definition at line 652 of file com_variant.c.

◆ PHP_FUNCTION() [3/26]

PHP_FUNCTION ( variant_and )

Definition at line 680 of file com_variant.c.

◆ PHP_FUNCTION() [4/26]

PHP_FUNCTION ( variant_cast )

Definition at line 1068 of file com_variant.c.

◆ PHP_FUNCTION() [5/26]

PHP_FUNCTION ( variant_cat )

Definition at line 659 of file com_variant.c.

◆ PHP_FUNCTION() [6/26]

PHP_FUNCTION ( variant_cmp )

Definition at line 869 of file com_variant.c.

◆ PHP_FUNCTION() [7/26]

PHP_FUNCTION ( variant_date_from_timestamp )

Definition at line 964 of file com_variant.c.

◆ PHP_FUNCTION() [8/26]

PHP_FUNCTION ( variant_date_to_timestamp )

Definition at line 926 of file com_variant.c.

◆ PHP_FUNCTION() [9/26]

PHP_FUNCTION ( variant_div )

Definition at line 687 of file com_variant.c.

◆ PHP_FUNCTION() [10/26]

PHP_FUNCTION ( variant_eqv )

Definition at line 694 of file com_variant.c.

◆ PHP_FUNCTION() [11/26]

PHP_FUNCTION ( variant_fix )

Definition at line 806 of file com_variant.c.

◆ PHP_FUNCTION() [12/26]

PHP_FUNCTION ( variant_get_type )

Definition at line 1012 of file com_variant.c.

◆ PHP_FUNCTION() [13/26]

PHP_FUNCTION ( variant_idiv )

Definition at line 701 of file com_variant.c.

◆ PHP_FUNCTION() [14/26]

PHP_FUNCTION ( variant_imp )

Definition at line 708 of file com_variant.c.

◆ PHP_FUNCTION() [15/26]

PHP_FUNCTION ( variant_int )

Definition at line 813 of file com_variant.c.

◆ PHP_FUNCTION() [16/26]

PHP_FUNCTION ( variant_mod )

Definition at line 715 of file com_variant.c.

◆ PHP_FUNCTION() [17/26]

PHP_FUNCTION ( variant_mul )

Definition at line 673 of file com_variant.c.

◆ PHP_FUNCTION() [18/26]

PHP_FUNCTION ( variant_neg )

Definition at line 820 of file com_variant.c.

◆ PHP_FUNCTION() [19/26]

PHP_FUNCTION ( variant_not )

Definition at line 827 of file com_variant.c.

◆ PHP_FUNCTION() [20/26]

PHP_FUNCTION ( variant_or )

Definition at line 722 of file com_variant.c.

◆ PHP_FUNCTION() [21/26]

PHP_FUNCTION ( variant_pow )

Definition at line 729 of file com_variant.c.

◆ PHP_FUNCTION() [22/26]

PHP_FUNCTION ( variant_round )

Definition at line 834 of file com_variant.c.

◆ PHP_FUNCTION() [23/26]

PHP_FUNCTION ( variant_set )

Definition at line 506 of file com_variant.c.

◆ PHP_FUNCTION() [24/26]

PHP_FUNCTION ( variant_set_type )

Definition at line 1028 of file com_variant.c.

◆ PHP_FUNCTION() [25/26]

PHP_FUNCTION ( variant_sub )

Definition at line 666 of file com_variant.c.

◆ PHP_FUNCTION() [26/26]

PHP_FUNCTION ( variant_xor )

Definition at line 736 of file com_variant.c.

◆ PHP_METHOD()

PHP_METHOD ( variant ,
__construct  )

Definition at line 435 of file com_variant.c.