« Windows 专用扩展
简介 »
Bejson.com
PHP Manual
Windows 专用扩展
COM and .Net (Windows)
COM and .Net (Windows)
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
Errors and error handling
范例
For Each
Arrays and Array-style COM properties
com
— The com class
com::__construct
— com class constructor
dotnet
— The dotnet class
dotnet::__construct
— dotnet class constructor
variant
— variant class
variant::__construct
— variant class constructor
COMPersistHelper
— The COMPersistHelper class
COMPersistHelper::__construct
— Construct a COMPersistHelper object
COMPersistHelper::GetCurFileName
— Get current filename
COMPersistHelper::GetMaxStreamSize
— Get maximum stream size
COMPersistHelper::InitNew
— Initialize object to default state
COMPersistHelper::LoadFromFile
— Load object from file
COMPersistHelper::LoadFromStream
— Load object from stream
COMPersistHelper::SaveToFile
— Save object to file
COMPersistHelper::SaveToStream
— Save object to stream
com_exception
— The com_exception class
COM 函数
com_create_guid
— Generate a globally unique identifier (GUID)
com_event_sink
— Connect events from a COM object to a PHP object
com_get_active_object
— Returns a handle to an already running instance of a COM object
com_load_typelib
— 装载一个 Typelib
com_message_pump
— Process COM messages, sleeping for up to timeoutms milliseconds
com_print_typeinfo
— Print out a PHP class definition for a dispatchable interface
variant_abs
— Returns the absolute value of a variant
variant_add
— "Adds" two variant values together and returns the result
variant_and
— Performs a bitwise AND operation between two variants
variant_cast
— Convert a variant into a new variant object of another type
variant_cat
— Concatenates two variant values together and returns the result
variant_cmp
— Compares two variants
variant_date_from_timestamp
— Returns a variant date representation of a Unix timestamp
variant_date_to_timestamp
— Converts a variant date/time value to Unix timestamp
variant_div
— Returns the result from dividing two variants
variant_eqv
— Performs a bitwise equivalence on two variants
variant_fix
— Returns the integer portion of a variant
variant_get_type
— Returns the type of a variant object
variant_idiv
— Converts variants to integers and then returns the result from dividing them
variant_imp
— Performs a bitwise implication on two variants
variant_int
— Returns the integer portion of a variant
variant_mod
— Divides two variants and returns only the remainder
variant_mul
— Multiplies the values of the two variants
variant_neg
— Performs logical negation on a variant
variant_not
— Performs bitwise not negation on a variant
variant_or
— Performs a logical disjunction on two variants
variant_pow
— Returns the result of performing the power function with two variants
variant_round
— Rounds a variant to the specified number of decimal places
variant_set_type
— Convert a variant into another type "in-place"
variant_set
— Assigns a new value for a variant object
variant_sub
— Subtracts the value of the right variant from the left variant value
variant_xor
— Performs a logical exclusion on two variants