(PHP 4 >= 4.1.0, PHP 5, PHP 7)
Examples:
COM example (1)
<?php
// starting word
$word = new COM("word.application") or die("Unable to instantiate Word");
echo "Loaded Word, version {$word->Version}\n";

//bring it to front
$word->Visible = 1;

//open an empty document
$word->Documents->Add();

//do some weird stuff
$word->Selection->TypeText("This is a test...");
$word->Documents[1]->SaveAs("Useless test.doc");

//closing word
$word->Quit();

//free the object
$word = null;
?>

COM example (2)
<?php

$conn = new COM("ADODB.Connection") or die("Cannot start ADO");
$conn->Open("Provider=SQLOLEDB; Data Source=localhost;
Initial Catalog=database; User ID=user; Password=password");

$rs = $conn->Execute("SELECT * FROM sometable");    // Recordset

$num_columns = $rs->Fields->Count();
echo $num_columns . "\n";

for ($i=0; $i < $num_columns; $i++) {
    $fld[$i] = $rs->Fields($i);
}

$rowcount = 0;
while (!$rs->EOF) {
    for ($i=0; $i < $num_columns; $i++) {
        echo $fld[$i]->value . "\t";
    }
    echo "\n";
    $rowcount++;            // increments rowcount
    $rs->MoveNext();
}

$rs->Close();
$conn->Close();

$rs = null;
$conn = null;

?>

variant_round

(PHP 5, PHP 7) Rounds a variant to the specified number of decimal places

2016-02-24 16:14:28
variant_abs

(PHP 5, PHP 7) Returns the absolute value of a variant

2016-02-24 16:14:26
com_get_active_object

(PHP 5, PHP 7) Returns a handle to an already running instance of a COM object

2016-02-24 16:14:25
variant_fix

(PHP 5, PHP 7) Returns the integer portion of a variant

2016-02-24 16:14:27
com_event_sink

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Connect events from a COM object to a PHP object

2016-02-24 16:14:24
com_load_typelib

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Loads a Typelib

2016-02-24 16:14:25
variant_int

(PHP 5, PHP 7) Returns the integer portion of a variant

2016-02-24 16:14:28
variant_not

(PHP 5, PHP 7) Performs bitwise not negation on a variant

2016-02-24 16:14:28
variant_mod

(PHP 5, PHP 7) Divides two variants and returns only the remainder

2016-02-24 16:14:28
variant_date_from_timestamp

(PHP 5, PHP 7) Returns a variant date representation of a Unix timestamp

2016-02-24 16:14:26