PHP: com_load - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

com_message_pump com_load_typelib

Last updated: Sat, 27 Jan 2007

view this page in

# com_load

(PHP 4)

com_load -- Creates a new reference to a COM component [deprecated]

## Description

resource com_load ( string module_name [, string server_name [, int codepage]] )

Equivalent to using the `new` operator to create an instance of the COM class. You should do that instead of calling this function.

Пример 1. Don't use com_load(), use OO syntax instead

`<?php
// do this
$obj = new COM($module);
// instead of this:
$obj = com_load($module);
?>`

> Замечание: This function does not exist in PHP 5; use the COM class instead.

add a note User Contributed Notes
com_load
There are no user contributed notes for this page.
com_message_pump com_load_typelib

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST