COM is a technology which allows the reuse of code written in any
language (by any language) using a standard calling convention and hiding
behind APIs the implementation details such as what machine the Component is
stored on and the executable which houses it. It can be thought of as a super
Remote Procedure Call (RPC) mechanism with some basic object roots. It
separates implementation from interface.
COM encourages versioning, separation of implementation from
interface and hiding the implementation details such as executable location and
the language it was written in.
COM functies zijn alleen bruikbaar in de Windows versie van PHP.
Er zijn geen handelingen nodig m.b.t. tot installatie
voor deze functies, deze maken deel uit van de kern van PHP.
Deze functies worden automatisch ingebouwd in de
windows versie van PHP. Er zijn geen extra handelingen nodig om deze
functies te gebruiken.
Het gedrag van deze functies wordt be?loed vanuit php.ini.
Tabel 1. Com configuratie opties
| Naam | Standaard waarde | Veranderbaar |
|---|
| com.allow_dcom | "0" | PHP_INI_SYSTEM |
| com.autoregister_typelib | "0" | PHP_INI_SYSTEM |
| com.autoregister_verbose | "0" | PHP_INI_SYSTEM |
| com.autoregister_casesensitive | "1" | PHP_INI_SYSTEM |
| com.typelib_file | "" | PHP_INI_SYSTEM |
Voor verdere details en definities van de PHP_INI_* konstanten, zie
ini_set().
Deze constanten worden gedefineerd door deze extensie, en
zullen alleen beschikbaar zijn als de extensie met PHP is
meegecompileerd, of als deze dynamisch is geladen vanuit een script.