COM 函数
PHP Manual

com_set

(PHP 4)

com_set给 COM 组件的属性赋值

说明

Deprecated, use the OO syntax instead.

Example #1 不要使用 com_set() ,使用 OO 语法代替

<?php
   
// do this
   
$obj->property $value;
   
// instead of this:
   
com_set($obj'property'$value);
   
?>

注释

Note: This function does not exist in PHP 5; instead, you should use the regular and more natural OO syntax to access properties or call methods.


COM 函数
PHP Manual