com_set 给 COM 组件的属性赋值


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_release
» connection_aborted
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3