(PHP 4)
com_set — انتصاب مقدار به خاصیت جز COM
از رده خارج شده از دستور OO استفاده کنید.
Example #1 دستور 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.