This should also work using the newer OOP style that is still undocumented.
<?php
$obj = new COM('Some.app');
$obj->somevar = 'somevalue';
?>
com_set
(PHP 4)
com_set — انتصاب مقدار به خاصیت جز COM
Description
از رده خارج شده از دستور OO استفاده کنید.
Example #1 دستور OO
<?php
// do this
$obj->property = $value;
// instead of this:
com_set($obj, 'property', $value);
?>
Notes
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.
dan at kuykendall dot org ¶
10 years ago
